From: Tim Rozet Date: Fri, 26 May 2017 18:45:34 +0000 (-0400) Subject: Apex: fixes downloading artifacts for rpms/iso X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F19%2F35419%2F1;p=releng.git Apex: fixes downloading artifacts for rpms/iso We always update the latest properties file on daily builds. We should be pulling that to find artifacts rather than the current date properties versions. Change-Id: I52d3b53fdd17ecb6cbb43759309568d0c22013f8 Signed-off-by: Tim Rozet --- diff --git a/jjb/apex/apex-download-artifact.sh b/jjb/apex/apex-download-artifact.sh index 2d39e98b0..206c627ec 100755 --- a/jjb/apex/apex-download-artifact.sh +++ b/jjb/apex/apex-download-artifact.sh @@ -26,11 +26,10 @@ else echo "Will download RPMs..." # Must be RPMs/ISO - export OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d") - echo "Downloading opnfv-${OPNFV_ARTIFACT_VERSION}.properties" + echo "Downloading latest properties file" # get the properties file in order to get info regarding artifacts - curl --fail -s -o $BUILD_DIRECTORY/opnfv.properties http://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.properties + curl --fail -s -o $BUILD_DIRECTORY/opnfv.properties http://$GS_URL/latest.properties # source the file so we get OPNFV vars source $BUILD_DIRECTORY/opnfv.properties