Skip to content

Commit 4776625

Browse files
committed
Look at downstream not this pipeline status.
1 parent 392c594 commit 4776625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ e2e-test-status:
273273
echo "Fetching E2E job status from: $URL"
274274
while true; do
275275
RESPONSE=$(curl -s --header "PRIVATE-TOKEN: ${GITLAB_API_TOKEN}" "$URL")
276-
E2E_JOB_STATUS=$(echo "$RESPONSE" | jq -r '.[] | select(.name=="e2e-test") | .pipeline.status')
276+
E2E_JOB_STATUS=$(echo "$RESPONSE" | jq -r '.[] | select(.name=="e2e-test") | .downstream_pipeline.status')
277277
echo -n "E2E job status: $E2E_JOB_STATUS, "
278278
if [ "$E2E_JOB_STATUS" == "success" ]; then
279279
echo "✅ E2E tests completed successfully"

0 commit comments

Comments
 (0)