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

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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot