summaryrefslogtreecommitdiffstats
path: root/jjb/opnfvdocs
diff options
context:
space:
mode:
authorVictor Laza <vlaza@cloudbasesolutions.com>2015-04-28 11:19:43 +0300
committerVictor Laza <vlaza@cloudbasesolutions.com>2015-04-28 11:24:40 +0300
commit7582497a68eeee1149e38bc306b12655cd092128 (patch)
treecf28a19e5b654eed8331f0bb524b1e43e22aa7e4 /jjb/opnfvdocs
parent401bcd33fc20ad063dbbefa7e4f065b062cb87ae (diff)
Content-Type:image/jpeg in build-upload-docu.sh for images
JIRA: stdin with cat "$img" for image upload in build-upload-docu.sh and Content-Type:image/jpeg for images Change-Id: I81a8d97d6ad784890eabe4d4ebb549cfb3bec541 Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
Diffstat (limited to 'jjb/opnfvdocs')
-rw-r--r--jjb/opnfvdocs/build-upload-docu.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/opnfvdocs/build-upload-docu.sh b/jjb/opnfvdocs/build-upload-docu.sh
index c4c78111a..561ccb177 100644
--- a/jjb/opnfvdocs/build-upload-docu.sh
+++ b/jjb/opnfvdocs/build-upload-docu.sh
@@ -49,9 +49,9 @@ for img in "${{images[@]}}"; do
# uploading found images
echo "uploading $img"
- echo "$img" | gsutil cp -L gsoutput.txt - \
+ cat "$img" | gsutil cp -L gsoutput.txt - \
gs://artifacts.opnfv.org/"$project"/"$img"
- gsutil setmeta -h "Content-Type:text/html" \
+ gsutil setmeta -h "Content-Type:image/jpeg" \
-h "Cache-Control:private, max-age=0, no-transform" \
gs://artifacts.opnfv.org/"$project"/"$img"
cat gsoutput.txt