summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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