File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -301,12 +301,12 @@ 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"
305306 while true; do
306307 # 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" )
308+ #RESPONSE= $ (curl -s --header " JOB-TOKEN: ${CI_JOB_TOKEN}" " $URL" )
309+ RESPONSE= $ (curl -s --header " PRIVATE-TOKEN: ${GITLAB_API_TOKEN}" " $URL" )
310310 echo " Response: $RESPONSE"
311311 E2E_JOB_STATUS= $ (echo " $RESPONSE" | jq -r '. [] | select(.name == " e2e-test" ) | .pipeline.status ')
312312 echo " E2E job status: $E2E_JOB_STATUS"
You can’t perform that action at this time.
0 commit comments