We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0c1a76 commit 6924947Copy full SHA for 6924947
ci/input_files/build.yaml.tpl
@@ -300,8 +300,9 @@ e2e-status:
300
# Poll for e2e-test job completion
301
while true; do
302
# 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")
+ URL="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/jobs"
+ echo "Fetching E2E job status from: $URL"
305
+ RESPONSE=$(curl -s --header "JOB-TOKEN: ${CI_JOB_TOKEN}" "$URL")
306
echo "Response: $RESPONSE"
307
E2E_JOB_STATUS=$(echo "$RESPONSE" | jq -r '.[] | select(.name=="e2e-test") | .status')
308
echo "E2E job status: $E2E_JOB_STATUS"
0 commit comments