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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,476
Community Members
 
Community Events
184
Community Groups

Is it possible to run only selected Stages in Bamboo

I have a requirement to run only a few selected stages. Is this possible with Bamboo 6.6.2

1 answer

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 27, 2018 • edited

Hi @Bharath,

We have two options for stages considering the way the are triggered:

  1. Automatic: The stage runs right after the previous one was run.
  2. Manual: The stage will run only if it is directly triggered.

You can achieve your goal by configuring some of the stages to be manual and others to be automatic, in order to match your needs.

(i) Stages are run in sequence, so they cannot be skipped unless they are disabled.

 

From the UI

Any time a build plan is triggered all automatic stages will be run until a manual stage is reached. Once the build is partially run you will be able to trigger manual stages through "Run customised" option or by clicking the play button on them.

From REST

Some options to trigger them:

Creating a new build (POST), running all stages (automatic and manual ones):

curl --user <USER>:<PASS> -X POST <BAM_URL>/rest/api/latest/queue/PROJ-PLAN?executeAllStages=true

Creating a new build (POST), running the manual stage 'manualstage2' but only after all preceding stages are run (either automatic or manual ones):

curl --user <USER>:<PASS> -X POST <BAM_URL>/rest/api/latest/queue/PROJ-PLAN?stage='manualstage2'

Resuming the build 10 (PUT), with automatic stages already run and some pending manual stages:

curl --user <USER>:<PASS> -X PUT <BAM_URL>/rest/api/latest/queue/PROJ-PLAN-10?stage='manualstage3'


I hope that helps.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events