Unable to queue new build

bhartendu kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 18, 2024

I am trying to queue a new build using API call 

/queue/{projectKey}-{buildKey}

If the concurrency is set to 1, API call is failing and unable to queue the build.

I want the build to be in queue even if concurrency is set to 1, Let the InProgress build finish and wait in the queue

2 answers

3 votes
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 18, 2024

Hello Bhartendu,

Welcome to Atlassian community.

If you set concurrency to 1, it means at a given time only 1 build can run ( or even get into queue ), basically more than 1 builds can't be trigerred. 

If you want to get the build into queue or run parallel you need to increase the concurrency. 

You may have a requirement where you don't want build to run in parallel but builds to get queued, in this case you can increase the concurrency and dedicate a agent only for this build plan, in this way build will get queued.

Regards,

Shashank Kumar

**please don't forget to Accept the answer if your query was answered**

 

0 votes
bhartendu kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 18, 2024

Any suggestions?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events