We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 879eb75 commit ab18312Copy full SHA for ab18312
1 file changed
ci/input_files/build.yaml.tpl
@@ -300,9 +300,10 @@ e2e-status:
300
# Poll for e2e-test job completion
301
while true; do
302
# 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')
+ RESPONSE=$(curl -s --header "PRIVATE-TOKEN: ${CI_JOB_TOKEN}" \
+ "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/jobs")
+ echo "Response: $RESPONSE"
306
+ E2E_JOB_STATUS=$(echo "$RESPONSE" | jq -r '.[] | select(.name=="e2e-test") | .status')
307
echo "E2E job status: $E2E_JOB_STATUS"
308
case "$E2E_JOB_STATUS" in
309
"success")
0 commit comments