diff options
author | kalyanreddy <reddyx.gundarapu@intel.com> | 2017-05-15 15:12:11 +0530 |
---|---|---|
committer | kalyanreddy <reddyx.gundarapu@intel.com> | 2017-05-15 15:12:11 +0530 |
commit | c4dd75ec7d0d4016047978ca47677e4f1bedfc86 (patch) | |
tree | 4842e9db9baf60d9eb399793c361e4ca091ebce7 /jjb | |
parent | 6009cd9a4edd0b9e04cb9860430ff7816d3e108b (diff) |
KVMFORNFV: Common build packages for daily test cases
This patch is used to upload the metadata file only for the artifacts
built by daily build job so that both the kvmfornfv cyclictest and
packet forwarding test cases will download the same artifacts uploaded
by the daily build job for testing on the test pod.
Change-Id: Ic2d58eca4fc86a257877159bb6910a2d8e8f3887
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/kvmfornfv/kvmfornfv-upload-artifact.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh b/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh index 56fb4f9c1..fb4256ce7 100755 --- a/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh +++ b/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh @@ -58,7 +58,7 @@ else fi # upload metadata file for the artifacts built by daily job -if [[ "$JOB_TYPE" == "daily" ]]; then +if [[ "$JOB_TYPE" == "daily" && "$PHASE" == "build" ]]; then gsutil cp $WORKSPACE/opnfv.properties $GS_UPLOAD_LOCATION/opnfv.properties > $WORKSPACE/gsutil.log 2>&1 gsutil cp $WORKSPACE/opnfv.properties gs://$GS_URL/latest.properties > $WORKSPACE/gsutil.log 2>&1 gsutil -m setmeta -r \ |