File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ readonly TEST_TAGS="${TEST_TAGS:-}"
1313post_data () {
1414 local url=$1
1515 local body=$2
16- # ADD -v FLAG HERE for debugging, you can remove it later
16+ # Debugging: Added -v flag and 2>&1 to capture verbose output
1717 if ! response=$( curl -s -f -v -X POST -H " Authorization: Bearer $API_TOKEN " -H " Content-Type: application/json" -d " $body " " $url " 2>&1 ) ; then # 2>&1 captures stderr too
1818 echo " Error: Network request failed with error $response " >&2
1919 exit 1
4444
4545# Upload build file
4646echo -n " Uploading build from $buildFilename for $buildPlatform : "
47- # ADD -v FLAG HERE for debugging, you can remove it later
47+ # Debugging: Added -v flag and 2>&1 to capture verbose output
4848if ! uploadedBuildResponse=$( curl -s -f -v -X POST \
4949 -H " Authorization: Bearer $API_TOKEN " \
5050 -H " Content-Type: multipart/form-data" \
8282echo -n " Waiting for test suite to finish..."
8383startTime=$( date +%s)
8484while true ; do
85- # ADD -v FLAG HERE for debugging, you can remove it later
85+ # Debugging: Added -v flag and 2>&1 to capture verbose output
8686 if ! testSuiteData=$( curl -s -f -v " $API_URL /testSuiteRuns/$testSuiteRunId /gh" 2>&1 ) ; then # 2>&1 captures stderr too
8787 echo " Error: Failed to retrieve test suite data" >&2
8888 exit 1
You can’t perform that action at this time.
0 commit comments