From 058009d0462e11754888b7ae51b9c08fa8f0487f Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Mon, 26 Mar 2018 16:17:18 -0700 Subject: xci: Set content-type of promotion properties file to text/html Change-Id: I609b796c629c68df214634ced5e9e6bda8ac2607 Signed-off-by: Fatih Degirmenci --- jjb/xci/xci-promote.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'jjb/xci') 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 -- cgit 1.2.3-korg