Skip to content

Commit 6924947

Browse files
committed
Print out URL.
1 parent a0c1a76 commit 6924947

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,9 @@ e2e-status:
300300
# Poll for e2e-test job completion
301301
while true; do
302302
# Get the e2e-test job status
303-
RESPONSE=$(curl -s --header "JOB-TOKEN: ${CI_JOB_TOKEN}" \
304-
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/jobs")
303+
URL="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/jobs"
304+
echo "Fetching E2E job status from: $URL"
305+
RESPONSE=$(curl -s --header "JOB-TOKEN: ${CI_JOB_TOKEN}" "$URL")
305306
echo "Response: $RESPONSE"
306307
E2E_JOB_STATUS=$(echo "$RESPONSE" | jq -r '.[] | select(.name=="e2e-test") | .status')
307308
echo "E2E job status: $E2E_JOB_STATUS"

0 commit comments

Comments
 (0)