devops: fix missing host in build scripts (#7178)

This commit is contained in:
Andrey Lushnikov 2021-06-16 10:38:00 -07:00 committed by GitHub
parent 184f2c2e93
commit 53ac9066da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -423,7 +423,7 @@ if generate_and_upload_browser_build 2>&1 | ./sanitize_and_compress_log.js $LOG_
# Check if we uploaded the last build.
(
for i in $(cat "${BROWSER_NAME}/${BUILDS_LIST}"); do
URL="${HOST}/${BROWSER_NAME}/${BUILD_NUMBER}/$i"
URL="https://playwright2.blob.core.windows.net/builds/${BROWSER_NAME}/${BUILD_NUMBER}/$i"
if ! [[ $(curl -s -L -I $URL | head -1 | cut -f2 -d' ') == 200 ]]; then
# Exit subshell
echo "Missing build at ${URL}"