X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopnfvdocs%2Fbuild-upload-docu.sh;h=561ccb177e5a212fa0560758ceef35f1bf883436;hb=7582497a68eeee1149e38bc306b12655cd092128;hp=c4c78111a331bdfad341af36011b8d54ef911142;hpb=401bcd33fc20ad063dbbefa7e4f065b062cb87ae;p=releng.git 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