summaryrefslogtreecommitdiffstats
path: root/jjb/dovetail/dovetail-artifacts-upload.sh
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2017-01-10 21:22:12 -0500
committerMatthewLi <matthew.lijun@huawei.com>2017-01-10 21:23:35 -0500
commit4a32a0adddc5fc9ab06202b2f191f1b82f6be805 (patch)
tree6baa7308c636a412937a6e0a37b2cb54036c06d8 /jjb/dovetail/dovetail-artifacts-upload.sh
parent89ace6543ba3b3cdea76ca9cf1affef6a00037e9 (diff)
dovetail: bugfix of docker save file permission
JIRA: DOVETAIL-176 Change-Id: Idec8ba0c0ab3ba28372cea638315f121c41387b9 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'jjb/dovetail/dovetail-artifacts-upload.sh')
-rwxr-xr-xjjb/dovetail/dovetail-artifacts-upload.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/dovetail/dovetail-artifacts-upload.sh b/jjb/dovetail/dovetail-artifacts-upload.sh
index b5d8fcfee..b23decad1 100755
--- a/jjb/dovetail/dovetail-artifacts-upload.sh
+++ b/jjb/dovetail/dovetail-artifacts-upload.sh
@@ -16,6 +16,7 @@ echo "dovetail: pull and save the images"
cd ${CACHE_DIR}
sudo docker pull ${DOCKER_REPO_NAME}:${DOCKER_TAG}
sudo docker save -o ${STORE_FILE_NAME} ${DOCKER_REPO_NAME}:${DOCKER_TAG}
+sudo chmod og+rw ${STORE_FILE_NAME}
OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d_%H-%M-%S")
GS_UPLOAD_LOCATION="${STORE_URL}/${OPNFV_ARTIFACT_VERSION}"