build: update release build endpoint from /jobs to /job (#21232)
This commit is contained in:
parent
0111f6216c
commit
41f1569c46
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ async function getCircleCIWorkflowId (pipelineId) {
|
|||
}
|
||||
|
||||
async function getCircleCIJobNumber (workflowId) {
|
||||
const jobInfoUrl = `https://circleci.com/api/v2/workflow/${workflowId}/jobs`
|
||||
const jobInfoUrl = `https://circleci.com/api/v2/workflow/${workflowId}/job`
|
||||
let jobNumber = 0
|
||||
while (jobNumber === 0) {
|
||||
const jobInfo = await circleCIRequest(jobInfoUrl, 'GET')
|
||||
|
|
Loading…
Reference in a new issue