Correct Fuel ISO download command for merge job 99/3499/2
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Fri, 20 Nov 2015 23:01:18 +0000 (00:01 +0100)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Fri, 20 Nov 2015 23:02:54 +0000 (23:02 +0000)
JIRA: RELENG-56

Change-Id: Ia1c0d7245d70c1dec90ec48d47f1b8ebc496a2be
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/fuel/fuel-download-artifact.sh

index 9adb546..05dc05e 100755 (executable)
@@ -5,7 +5,7 @@ set -o pipefail
 
 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
+    curl -s -o $WORKSPACE/latest.properties http://$GS_URL/opnfv-gerrit-$GERRIT_CHANGE_NUMBER.properties
 else
     # get the latest.properties file in order to get info regarding latest artifact
     curl -s -o $WORKSPACE/latest.properties http://$GS_URL/latest.properties