diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2016-02-24 12:41:36 +0000 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2016-02-24 12:41:36 +0000 |
commit | ba3fbc96695fd0b2de801b5d2702f8ce9fa8c210 (patch) | |
tree | 8c704c4465261cb9b1a785840bd3e411595e8c04 | |
parent | 761ac5098525e8d65f35fa5ea0187be76dbc5762 (diff) |
Don't use JOB_NAME to determine job type
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rwxr-xr-x | platforms-ci.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/platforms-ci.sh b/platforms-ci.sh index 29b0cf1..1c647f2 100755 --- a/platforms-ci.sh +++ b/platforms-ci.sh @@ -5,9 +5,11 @@ JENKINS_WORKSPACE=${WORKSPACE} unset WORKSPACE if [ "$1" == "release" ]; then + JOB_TYPE=release YYMM=`date +%y`.`date +%m` echo "platforms-ci.sh: params passed, doing a release build for $YYMM" else + JOB_TYPE=snapshot YYMM=master echo "platforms-ci.sh: doing a snapshot build for $YYMM" fi @@ -262,7 +264,7 @@ create_release_zip fvp latest oe uboot create_release_zip fvp lsk android uboot create_release_zip fvp lsk uefi uefi -if [ "$JOB_NAME" == "armlt-platforms" ]; then +if [ "$JOB_TYPE" == "snapshot" ]; then # only generate TC2 zips for the non-release job create_release_zip tc2 latest busybox bootmon create_release_zip tc2 latest oe bootmon |