Merge "[fuel] Turn off upload action & checkout"
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Tue, 30 May 2017 14:51:06 +0000 (14:51 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Tue, 30 May 2017 14:51:06 +0000 (14:51 +0000)
jjb/fuel/fuel-build.sh
jjb/fuel/fuel-deploy.sh

index e4a3041..2c0d12a 100755 (executable)
@@ -10,6 +10,7 @@
 
 # disable Fuel iso build for master branch
 if [[ "$BRANCH" == 'master' ]]; then
+    touch $WORKSPACE/.noupload
     echo "--------------------------------------------------------"
     echo "Done!"
     exit 0
index f5bbd18..4d48ee5 100755 (executable)
@@ -21,7 +21,7 @@ echo "Using ${OPNFV_ARTIFACT_URL/*\/} for deployment"
 if [[ "$JOB_NAME" =~ "merge" ]]; then
     # set simplest scenario for virtual deploys to run for merges
     DEPLOY_SCENARIO="os-nosdn-nofeature-ha"
-else
+elif [[ "$BRANCH" != 'master' ]]; then
     # for none-merge deployments
     # checkout the commit that was used for building the downloaded artifact
     # to make sure the ISO and deployment mechanism uses same versions