summaryrefslogtreecommitdiffstats
path: root/jjb/fuel/fuel-download-artifact.sh
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-11-20 14:28:03 +0100
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-11-20 13:54:56 +0000
commit2b2272a3e908de9beb1ee72580c9419ab6205640 (patch)
treea9d131fd272308e3366711a8c15274db4f24221e /jjb/fuel/fuel-download-artifact.sh
parent5a7a6a6c48511dd8d53defe64609edc88d4999bb (diff)
Check job name to decide what to do with fuel artifacts
fuel-verify-virtual-deploy-master job is also removed for the timebeing. Change-Id: I744830cf377791ad0edf3f8c38012b01b6cd80cd Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/fuel/fuel-download-artifact.sh')
-rwxr-xr-xjjb/fuel/fuel-download-artifact.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/fuel/fuel-download-artifact.sh b/jjb/fuel/fuel-download-artifact.sh
index 7ebc0d6d0..9adb546aa 100755
--- a/jjb/fuel/fuel-download-artifact.sh
+++ b/jjb/fuel/fuel-download-artifact.sh
@@ -3,7 +3,7 @@ set -o errexit
set -o nounset
set -o pipefail
-if [[ $GERRIT_EVENT_TYPE = "change-merged" ]]; then
+if [[ "$JOB_NAME" =~ "merge" ]]; then
# get the properties file for the Fuel ISO built for a merged change
curl -s -o $WORKSPACE/opnfv-gerrit-$GERRIT_CHANGE_NUMBER.properties http://$GS_URL/latest.properties
else