summaryrefslogtreecommitdiffstats
path: root/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-08-17 13:41:25 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-08-17 13:41:25 +0200
commit8b0fd344c0e78f39349879385772a3686268504e (patch)
tree5ab09acaafc61f6859830badccf7542a1eca3ab7 /jjb/kvmfornfv/kvmfornfv-upload-artifact.sh
parent61f1cb13f81abef81a10e98913ededdb85a4e92e (diff)
kvmfornfv: Improve job console logging
Change-Id: I5ad1aec2b334196a4107154fbdec252676c344b2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/kvmfornfv/kvmfornfv-upload-artifact.sh')
-rwxr-xr-xjjb/kvmfornfv/kvmfornfv-upload-artifact.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh b/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh
index adf902ec9..327ea97e8 100755
--- a/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh
+++ b/jjb/kvmfornfv/kvmfornfv-upload-artifact.sh
@@ -11,13 +11,13 @@ fi
case "$JOB_TYPE" in
verify)
- echo "Uploading artifacts for the change $GERRIT_CHANGE_NUMBER. This could take some time..."
GS_UPLOAD_LOCATION="gs://artifacts.opnfv.org/$PROJECT/review/$GERRIT_CHANGE_NUMBER"
- echo "Removing artifacts produced for the previous patch for the change $GERRIT_CHANGE_NUMBER"
+ echo "Removing outdated artifacts produced for the previous patch for the change $GERRIT_CHANGE_NUMBER"
gsutil ls $GS_UPLOAD_LOCATION > /dev/null 2>&1 && gsutil rm -r $GS_UPLOAD_LOCATION
+ echo "Uploading artifacts for the change $GERRIT_CHANGE_NUMBER. This could take some time..."
;;
daily)
- echo "Uploding daily artifacts This could take some time..."
+ echo "Uploading daily artifacts This could take some time..."
OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d_%H-%M-%S")
GS_UPLOAD_LOCATION="gs://$GS_URL/$OPNFV_ARTIFACT_VERSION"
;;