summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-05-26 14:45:34 -0400
committerTim Rozet <trozet@redhat.com>2017-05-26 14:48:09 -0400
commitb70328badbe942f02b288b18f46ed7c25bc176d9 (patch)
treed28e23da6920ef9e68ee201da8b435643d8f1e82 /jjb
parent64fefb3f395f23f7f5878f6e24ced168d54bd7e4 (diff)
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 <trozet@redhat.com>
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/apex/apex-download-artifact.sh5
1 files changed, 2 insertions, 3 deletions
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