aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2016-02-24 12:41:36 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2016-02-24 12:41:36 +0000
commitba3fbc96695fd0b2de801b5d2702f8ce9fa8c210 (patch)
tree8c704c4465261cb9b1a785840bd3e411595e8c04
parent761ac5098525e8d65f35fa5ea0187be76dbc5762 (diff)
Don't use JOB_NAME to determine job type
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rwxr-xr-xplatforms-ci.sh4
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