File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -301,12 +301,13 @@ e2e-status:
301301 # TODO: link to the test results
302302 # do not wait around for the scheduled job to complete
303303 echo " 🔄 Waiting for E2E tests to complete..."
304- # Poll for e2e-test job completion
304+ URL= " ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/bridges"
305+ echo " Fetching E2E job status from: $URL"
306+ env
305307 while true; do
306308 # Get the e2e-test job status
307- URL= " ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/bridges"
308- echo " Fetching E2E job status from: $URL"
309- RESPONSE= $ (curl -s --header " JOB-TOKEN: ${CI_JOB_TOKEN}" " $URL" )
309+ #RESPONSE= $ (curl -s --header " JOB-TOKEN: ${CI_JOB_TOKEN}" " $URL" )
310+ RESPONSE= $ (curl -s --header " PRIVATE-TOKEN: ${GITLAB_API_TOKEN}" " $URL" )
310311 echo " Response: $RESPONSE"
311312 E2E_JOB_STATUS= $ (echo " $RESPONSE" | jq -r '. [] | select(.name == " e2e-test" ) | .pipeline.status ')
312313 echo " E2E job status: $E2E_JOB_STATUS"
You can’t perform that action at this time.
0 commit comments