Skip to content

Commit a0c1a76

Browse files
committed
Try JOB-TOKEN.
1 parent 92607f2 commit a0c1a76

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
@@ -300,7 +300,7 @@ 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 "PRIVATE-TOKEN: ${CI_JOB_TOKEN}" \
303+
RESPONSE=$(curl -s --header "JOB-TOKEN: ${CI_JOB_TOKEN}" \
304304
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/jobs")
305305
echo "Response: $RESPONSE"
306306
E2E_JOB_STATUS=$(echo "$RESPONSE" | jq -r '.[] | select(.name=="e2e-test") | .status')

0 commit comments

Comments
 (0)