From 1ddf73929477c06d3b0b09dfafe3f436e0d8bc08 Mon Sep 17 00:00:00 2001
From: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Date: Thu, 22 Jun 2017 01:10:53 +0200
Subject: barometer: setmeta on properties files

Change-Id: I9c8b86488c0dab04068b978864dff017bd5a95e9
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
---
 jjb/barometer/barometer-upload-artifact.sh | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'jjb')

diff --git a/jjb/barometer/barometer-upload-artifact.sh b/jjb/barometer/barometer-upload-artifact.sh
index 996de4808..887c4924e 100644
--- a/jjb/barometer/barometer-upload-artifact.sh
+++ b/jjb/barometer/barometer-upload-artifact.sh
@@ -31,6 +31,12 @@ gsutil -m setmeta \
     -h "Cache-Control:private, max-age=0, no-transform" \
     gs://$OPNFV_ARTIFACT_URL/*.rpm > /dev/null 2>&1
 
+gsutil -m setmeta \
+    -h "Content-Type:text/html" \
+    -h "Cache-Control:private, max-age=0, no-transform" \
+    gs://$GS_URL/latest.properties \
+    gs://$OPNFV_ARTIFACT_URL/opnfv.properties > /dev/null 2>&1
+
 echo
 echo "--------------------------------------------------------"
 echo "Done!"
-- 
cgit