Merge "barometer: setmeta on properties files"
authorAric Gardner <agardner@linuxfoundation.org>
Fri, 23 Jun 2017 17:19:52 +0000 (17:19 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Fri, 23 Jun 2017 17:19:52 +0000 (17:19 +0000)
jjb/barometer/barometer-upload-artifact.sh

index 996de48..887c492 100644 (file)
@@ -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!"