File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8181
8282 # Step 4: Get all jobs in the workflow
8383 echo "Getting jobs for workflow ${workflow_id}..."
84- jobs=$(curl -s -H "Circle-Token: ${CIRCLE_TOKEN}" \
84+ jobs=$(curl -s \
8585 "https://circleci.com/api/v2/workflow/${workflow_id}/job")
8686
8787 # Step 5: Extract collection_job details
9292
9393 # Step 6: Get artifacts list
9494 echo "Getting artifacts for job ${collection_job_number}..."
95- artifacts=$(curl -s -H "Circle-Token: ${CIRCLE_TOKEN}" \
95+ artifacts=$(curl -s \
9696 "https://circleci.com/api/v2/project/gh/${REPO}/${collection_job_number}/artifacts")
9797
9898 echo "$artifacts" | jq '.'
@@ -107,7 +107,7 @@ jobs:
107107
108108 echo "Downloading failure_summary.json from: ${failure_summary_url}"
109109 mkdir -p outputs
110- curl -s -L -H "Circle-Token: ${CIRCLE_TOKEN}" "${failure_summary_url}" -o outputs/failure_summary.json
110+ curl -s -L "${failure_summary_url}" -o outputs/failure_summary.json
111111 ls -la outputs
112112
113113 echo "Downloaded failure_summary.json successfully"
You can’t perform that action at this time.
0 commit comments