diff options
author | Victor Laza <vlaza@cloudbasesolutions.com> | 2015-04-28 11:19:43 +0300 |
---|---|---|
committer | Victor Laza <vlaza@cloudbasesolutions.com> | 2015-04-28 11:24:40 +0300 |
commit | 7582497a68eeee1149e38bc306b12655cd092128 (patch) | |
tree | cf28a19e5b654eed8331f0bb524b1e43e22aa7e4 | |
parent | 401bcd33fc20ad063dbbefa7e4f065b062cb87ae (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>
-rw-r--r-- | jjb/opnfvdocs/build-upload-docu.sh | 4 |
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 |