We have two options for stages considering the way the are 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.
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.
G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events