summaryrefslogtreecommitdiffstats
path: root/jjb/kvmfornfv/kvmfornfv-download-artifact.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/kvmfornfv/kvmfornfv-download-artifact.sh')
-rwxr-xr-xjjb/kvmfornfv/kvmfornfv-download-artifact.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/jjb/kvmfornfv/kvmfornfv-download-artifact.sh b/jjb/kvmfornfv/kvmfornfv-download-artifact.sh
index 1f99f177b..c8bdb9c72 100755
--- a/jjb/kvmfornfv/kvmfornfv-download-artifact.sh
+++ b/jjb/kvmfornfv/kvmfornfv-download-artifact.sh
@@ -16,6 +16,12 @@ case "$JOB_TYPE" in
echo "Downloading artifacts for the change $GERRIT_CHANGE_NUMBER. This could take some time..."
GS_UPLOAD_LOCATION="gs://artifacts.opnfv.org/$PROJECT/review/$GERRIT_CHANGE_NUMBER"
;;
+ daily)
+ gsutil cp gs://$GS_URL/latest.properties $WORKSPACE/latest.properties
+ source $WORKSPACE/latest.properties
+ GS_UPLOAD_LOCATION=$OPNFV_ARTIFACT_URL
+ echo "Downloading artifacts from $GS_UPLOAD_LOCATION for daily run. This could take some time..."
+ ;;
*)
echo "Artifact download is not enabled for $JOB_TYPE jobs"
exit 1