Correct Fuel ISO download command for merge job
[releng.git] / 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