summaryrefslogtreecommitdiffstats
path: root/jjb/kvmfornfv/kvmfornfv-download-artifact.sh
diff options
context:
space:
mode:
authorkalyanreddy <reddyx.gundarapu@intel.com>2016-09-01 10:51:52 +0530
committerKalyan reddy Gundarapu <reddyx.gundarapu@intel.com>2016-09-08 10:43:01 +0000
commit3f7624c80203e6f46cd9cedab618bba3c1f52324 (patch)
tree79081275d0f148f83ef927f47370900e7eb0f564 /jjb/kvmfornfv/kvmfornfv-download-artifact.sh
parentc355f9df975349b6ccd09075f178841d035b631e (diff)
KVMFORNFV: Enable artifact download and testing for daily job
This patch contains scripts for downloading artifacts and running tests as part of KVM4NFV daily job. Change-Id: Iaf557d260e236f873acf99d7d735c54d7d2903cf Signed-off-by: kalyanreddy <reddyx.gundarapu@intel.com>
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