aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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