From 56809383519f3594e1608d3e96fa173625deb917 Mon Sep 17 00:00:00 2001 From: Pablo Date: Thu, 25 Apr 2024 15:48:17 +0200 Subject: [PATCH] browserstack build tag Signed-off-by: Pablo --- scripts/browserstackJenkins.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/browserstackJenkins.sh b/scripts/browserstackJenkins.sh index 338c3e3b55c..4831645c5ce 100644 --- a/scripts/browserstackJenkins.sh +++ b/scripts/browserstackJenkins.sh @@ -32,7 +32,7 @@ json=$(jq -n \ --arg deviceLogs "$browserstack_deviceLogs" \ --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")"