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

This widget could not be displayed.

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 Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

199 views 1 3
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