File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -300,9 +300,10 @@ e2e-status:
300300 # Poll for e2e-test job completion
301301 while true; do
302302 # Get the e2e-test job status
303- E2E_JOB_STATUS= $ (curl -s --header " PRIVATE-TOKEN: ${CI_JOB_TOKEN}" \
304- " ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/jobs" | \
305- jq -r '. [] | select(.name == " e2e-test" ) | .status ')
303+ RESPONSE= $ (curl -s --header " PRIVATE-TOKEN: ${CI_JOB_TOKEN}" \
304+ " ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/jobs" )
305+ echo " Response: $RESPONSE"
306+ E2E_JOB_STATUS= $ (echo " $RESPONSE" | jq -r '. [] | select(.name == " e2e-test" ) | .status ')
306307 echo " E2E job status: $E2E_JOB_STATUS"
307308 case " $E2E_JOB_STATUS" in
308309 " success" )
You can’t perform that action at this time.
0 commit comments