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 gs://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.iso > gsutil.iso.log 2>&1
16 gsutil cp $WORKSPACE/opnfv.properties gs://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.properties > gsutil.properties.log 2>&1
17 if [[ ! "$JOB_NAME" =~ (verify|merge) ]]; then
18 gsutil cp $WORKSPACE/opnfv.properties gs://$GS_URL/latest.properties > gsutil.latest.log 2>&1
19 elif [[ "$JOB_NAME" =~ "merge" ]]; then
20 echo "Uploaded Fuel ISO for a merged change"
24 echo "--------------------------------------------------------"
26 echo "Artifact is available as http://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.iso"