Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Ordering of jobs when fewer agents than jobs

Michael at Compute Thing
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!
September 16, 2020

I would like to order some test jobs within a test stage.

I understand that jobs will run in parallel if there are sufficient agents, but when I have fewer agents than jobs, I would like to have some priority.

I have 4 test jobs, covering high priority and low priority tests across 2 target platforms. If I have 4 agents I would want all the test jobs to start together. But if only 2 agents are available, I would want the high priority tests run first. And if I only have 1 agent, I would want a specific platform to be tested first.

As the jobs relate to integration tests they take some time: around 2 hours for high priority tests and 6 hours for low priority tests. With ordering, I would have a worst case verdict on priority tests in 4 hours; without ordering, I could be waiting 16 hours.

I see that there is an earlier answer in Bamboo-questions/ordering-jobs/qaq-p/682501#M28849 but that dismisses the idea ordering is a concern.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events