summaryrefslogtreecommitdiffstats
path: root/jjb/kvmfornfv
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-08-04 18:32:46 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-08-04 18:32:46 +0200
commitbd35a079af75875da3ca438527899c6cb7ea7b74 (patch)
treee11429b19a61f7e83fee25593a28babd25efc3b1 /jjb/kvmfornfv
parent48a6e06d1d00d76998234b16fc954c9c7cd1576d (diff)
kvmfornfv: Fix artifact upload location for the changes under review
Change-Id: Ieb6b30b86290ac0662914ad8a0dff356675737f9 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/kvmfornfv')
-rwxr-xr-xjjb/kvmfornfv/kvmfornfv-download-artifact.sh5
-rwxr-xr-xjjb/kvmfornfv/kvmfornfv-upload-artifact.sh4
2 files changed, 4 insertions, 5 deletions
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