summaryrefslogtreecommitdiffstats
path: root/jjb/xci
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-03-26 16:17:18 -0700
committerFatih Degirmenci <fdegir@gmail.com>2018-03-26 16:17:47 -0700
commit058009d0462e11754888b7ae51b9c08fa8f0487f (patch)
treefacc87bcc20796536b87ed07a1adcbf60de12fad /jjb/xci
parenta0df693b4e7d567adec158f6cc11b5b7cdadf564 (diff)
xci: Set content-type of promotion properties file to text/html
Change-Id: I609b796c629c68df214634ced5e9e6bda8ac2607 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Diffstat (limited to 'jjb/xci')
-rwxr-xr-xjjb/xci/xci-promote.sh3
1 files changed, 2 insertions, 1 deletions
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