diff --git a/scripts/browserstackJenkins.sh b/scripts/browserstackJenkins.sh index 4831645c5ce..d538c90dea0 100644 --- a/scripts/browserstackJenkins.sh +++ b/scripts/browserstackJenkins.sh @@ -30,9 +30,9 @@ json=$(jq -n \ --arg language "$browserstack_language" \ --arg locale "$browserstack_locale" \ --arg deviceLogs "$browserstack_deviceLogs" \ - --arg allowDeviceMockServer "$browserstack_allowDeviceMockServer" \ + --arg allowDeviceMockServer "$browserstack_allowDeviceMockServer" \ --argjson shards "$shards" \ - --arg buildTag = [\"$buildTag\"] \ + --arg buildTag \"$buildTag\" \ '{devices: $devices, app: $app_url, testSuite: $test_url, class: $class, logs: $logs, video: $video, local: $loc, localIdentifier: $locId, gpsLocation: $gpsLocation, language: $language, locale: $locale, deviceLogs: $deviceLogs, allowDeviceMockServer: $allowDeviceMockServer, shards: $shards, buildTag: $buildTag}') test_execution_response="$(curl -X POST https://api-cloud.browserstack.com/app-automate/espresso/v2/build -d \ "$json" -H "Content-Type: application/json" -u "$BROWSERSTACK_USR:$BROWSERSTACK_PSW")"