X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fxci%2Fxci-promote.sh;h=d8d61bee2153358a66e39a2f79ae19c0700f3d3b;hb=36f19be00474845b11f3c689a6920a10c535e509;hp=4e72dc8ab4d900144b2e4bc093569c2a62de6801;hpb=d1232f5d7e1b74103fa84c2ba4fed91de0d80041;p=releng.git diff --git a/jjb/xci/xci-promote.sh b/jjb/xci/xci-promote.sh index 4e72dc8ab..d8d61bee2 100755 --- a/jjb/xci/xci-promote.sh +++ b/jjb/xci/xci-promote.sh @@ -39,7 +39,8 @@ echo "Storing promotion metadata as $REMOTE_PROMOTION_METADATA_FILE" gsutil cp $LOCAL_PROMOTION_METADATA_FILE $REMOTE_PROMOTION_METADATA_FILE > /dev/null 2>&1 # update the file metadata on gs to prevent the use of cached version of the file -gsutil -m setmeta -r -h "Cache-Control:private, max-age=0, no-transform" \ +gsutil -m setmeta -r -h "Content-Type:text/html" \ + -h "Cache-Control:private, max-age=0, no-transform" \ $REMOTE_PROMOTION_METADATA_FILE > /dev/null 2>&1 # log the metadata to console