Skip to content

Commit 92607f2

Browse files
committed
Debugging.
1 parent b2b1ba5 commit 92607f2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)