7 echo "Uploading the $INSTALLER_TYPE artifact. This could take some time..."
8 echo "--------------------------------------------------------"
11 # source the opnfv.properties to get ARTIFACT_VERSION
12 source $WORKSPACE/opnfv.properties
14 # upload artifact and additional files to google storage
15 gsutil cp $BUILD_DIRECTORY/opnfv-$OPNFV_ARTIFACT_VERSION.iso \
16 gs://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.iso > gsutil.iso.log 2>&1
17 gsutil cp $WORKSPACE/opnfv.properties \
18 gs://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.properties > gsutil.properties.log 2>&1
19 if [[ ! "$JOB_NAME" =~ (verify|merge) ]]; then
20 gsutil cp $WORKSPACE/opnfv.properties \
21 gs://$GS_URL/latest.properties > gsutil.latest.log 2>&1
22 elif [[ "$JOB_NAME" =~ "merge" ]]; then
23 echo "Uploaded Fuel ISO for a merged change"
27 -h "Content-Type:text/html" \
28 -h "Cache-Control:private, max-age=0, no-transform" \
29 gs://$GS_URL/*.properties
32 -h "Cache-Control:private, max-age=0, no-transform" \
36 echo "--------------------------------------------------------"
38 echo "Artifact is available as http://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.iso"