summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-12-01 13:00:16 +0100
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-12-01 13:00:16 +0100
commit8f7c70a1c59a1b06ee2d1c4ca15ac36ec15925c3 (patch)
tree861430886b58ad4161b3c924bd212968c2033de8
parent3559db4bdc4ac047726121e82bc4a1150e137447 (diff)
Fix the bug causing upload issues for fuel latest.properties
Change-Id: I86de398787a3d3df4346e3e5080ffaac9e3bf5a2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
-rwxr-xr-xjjb/fuel/fuel-upload-artifact.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/fuel/fuel-upload-artifact.sh b/jjb/fuel/fuel-upload-artifact.sh
index 2783f2cd0..b998e6a6a 100755
--- a/jjb/fuel/fuel-upload-artifact.sh
+++ b/jjb/fuel/fuel-upload-artifact.sh
@@ -14,7 +14,7 @@ source $WORKSPACE/opnfv.properties
# upload artifact and additional files to google storage
gsutil cp $BUILD_DIRECTORY/opnfv-$OPNFV_ARTIFACT_VERSION.iso gs://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.iso > gsutil.iso.log 2>&1
gsutil cp $WORKSPACE/opnfv.properties gs://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.properties > gsutil.properties.log 2>&1
-if [[ "$JOB_NAME" =~ "daily" ]]; then
+if [[ ! "$JOB_NAME" =~ (verify|merge) ]]; then
gsutil cp $WORKSPACE/opnfv.properties gs://$GS_URL/latest.properties > gsutil.latest.log 2>&1
elif [[ "$JOB_NAME" =~ "merge" ]]; then
echo "Uploaded Fuel ISO for a merged change"