Fix the bug causing upload issues for fuel latest.properties 09/3809/1
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Tue, 1 Dec 2015 12:00:16 +0000 (13:00 +0100)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Tue, 1 Dec 2015 12:00:16 +0000 (13:00 +0100)
Change-Id: I86de398787a3d3df4346e3e5080ffaac9e3bf5a2
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/fuel/fuel-upload-artifact.sh

index 2783f2c..b998e6a 100755 (executable)
@@ -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"