Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Content-Type:image/jpeg in build-upload-docu.sh for images
[releng.git]
/
jjb
/
opnfvdocs
/
build-upload-docu.sh
diff --git
a/jjb/opnfvdocs/build-upload-docu.sh
b/jjb/opnfvdocs/build-upload-docu.sh
index
c4c7811
..
561ccb1
100644
(file)
--- 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"
# 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"
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
-h "Cache-Control:private, max-age=0, no-transform" \
gs://artifacts.opnfv.org/"$project"/"$img"
cat gsoutput.txt