Is Bamboo`s plan execution could preempt a stage on another plan ?

Is Bamboo`s plan execution could preempt a stage on another plan ?

I have 2 plans that have at least 2 stages each. The plans could be triggered at the same time. So there is some queued performing.

I noticed this execution sequence:

PLAN1 stage1 starts on agentX, PLAN2 stage 1 starts (on another agent).

PLAN2 stage 1 finished, PLAN2 stage 2 queued waiting on agentX

PLAN1 stage1 completed, PLAN2 stage 2 start on agentX !!!

PLAN1 fucked up !

This preemption is a normal feature?

Regards.

Simon

1 answer

1 accepted

0 votes
Accepted answer

If I understand the question correctly, you'd like stage 2 to continue on the same agent that was used to build stage 1?

Agents take jobs from queue independently (providing that their capabilities are sufficient). If your stage 2 requires something built in stage 1, you'd need to define that as a shared artifact and pass it between jobs.

No, sorry, that's not what I mean. In my case, there is only one agent that could perform the job on the stage2 anyway.

No the problem is : I want my first PLAN finished all its job (that could only run on this very agent) without being preempted (interrupt by another PLAN that has to run also under this agent).

Do be more specific, the first PLAN uploads a execution code on an embedded board (target under test) and runs a series of tests after. I don't want that another PLAN uploads another code in between.

Currently, the only way to avoid it is to have all steps execute in the same plan, sorry.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

209 views 6 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you