summaryrefslogtreecommitdiffstats
path: root/jjb/fuel/fuel-build.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-build.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-build.sh')
-rwxr-xr-xjjb/fuel/fuel-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/fuel/fuel-build.sh b/jjb/fuel/fuel-build.sh
index 63a62f497..7b1d8510e 100755
--- a/jjb/fuel/fuel-build.sh
+++ b/jjb/fuel/fuel-build.sh
@@ -12,7 +12,7 @@ echo
[[ -d $CACHE_DIRECTORY ]] || mkdir -p $CACHE_DIRECTORY
# set OPNFV_ARTIFACT_VERSION
-if [[ $GERRIT_EVENT_TYPE = "change-merged" ]]; then
+if [[ "$JOB_NAME" =~ "merge" ]]; then
echo "Building Fuel ISO for a merged change"
OPNFV_ARTIFACT_VERSION=$(gerrit-$GERRIT_CHANGE_NUMBER)
else