From bd35a079af75875da3ca438527899c6cb7ea7b74 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Thu, 4 Aug 2016 18:32:46 +0200 Subject: kvmfornfv: Fix artifact upload location for the changes under review Change-Id: Ieb6b30b86290ac0662914ad8a0dff356675737f9 Signed-off-by: Fatih Degirmenci --- jjb/kvmfornfv/kvmfornfv-download-artifact.sh | 5 ++--- jjb/kvmfornfv/kvmfornfv-upload-artifact.sh | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'jjb') diff --git a/jjb/kvmfornfv/kvmfornfv-download-artifact.sh b/jjb/kvmfornfv/kvmfornfv-download-artifact.sh index 24a5e45fe..875f42921 100755 --- a/jjb/kvmfornfv/kvmfornfv-download-artifact.sh +++ b/jjb/kvmfornfv/kvmfornfv-download-artifact.sh @@ -9,7 +9,7 @@ fi if [[ "$JOB_TYPE" == "verify" ]]; then echo "Downloading artifacts for the change $GERRIT_CHANGE_NUMBER. This could take some time..." - GS_URL="gs://artifacts.opnfv.org/review/$GERRIT_CHANGE_NUMBER" + GS_URL="gs://artifacts.opnfv.org/$PROJECT/review/$GERRIT_CHANGE_NUMBER" else echo "Artifact download is not enabled for $JOB_TYPE jobs" exit 1 @@ -17,9 +17,8 @@ fi /bin/mkdir -p $WORKSPACE/build_output gsutil cp -r $GS_URL/* $WORKSPACE/build_output > $WORKSPACE/gsutil.log 2>&1 - echo "--------------------------------------------------------" ls -al $WORKSPACE/build_output echo "--------------------------------------------------------" - +echo echo "Downloaded artifacts!" diff --git a/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh b/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh index 81394561a..339d260e3 100755 --- a/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh +++ b/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh @@ -8,8 +8,8 @@ else fi if [[ "$JOB_TYPE" == "verify" ]]; then - echo "Uploding artifacts for the change $GERRIT_CHANGE_NUMBER. This could take some time..." - GS_URL="gs://artifacts.opnfv.org/review/$GERRIT_CHANGE_NUMBER" + echo "Uploading artifacts for the change $GERRIT_CHANGE_NUMBER. This could take some time..." + GS_URL="gs://artifacts.opnfv.org/$PROJECT/review/$GERRIT_CHANGE_NUMBER" else echo "Artifact upload is not enabled for $JOB_TYPE jobs" exit 1 -- cgit 1.2.3-korg