Bamboo allows you to ensure that builds are only triggered manually or by parent builds of dependent builds. You can also run a customised build, which allows you to do the following:
If you want to trigger builds automatically rather than manually, you can trigger builds based on code changes or based on a schedule. |
Starting a Plan Build Manually
To start a Plan build manually:
Starting a Parameterised Plan Build
If you trigger a Plan build manually, you can override any Global variables or Plan variables by substituting in your own parameters.
Before you begin:
- You cannot run a parameterised Plan build if it is triggered automatically.
- You can only run a parameterised Plan build if you have defined Global variables for Bamboo or Plan variables for your Plan.
To start a parameterised Plan build:
- Navigate to the Plan Summary (not Plan configuration) for the desired Plan.
- Click the 'Run' menu, then click 'Run Customised Plan'.
- In the 'Run Customised Build' popup window, override the desired Global and Plan variables in the appropriate tab.
Note, the Plan variables tab will not appear if you do not have Plan variables defined. The Global variables tab will not appear if you do not have Global variables defined. - Click 'Run' to run the Plan.
Screenshot above: Overriding Plan Variables for a Parameterised Plan Build
Starting a Plan Build with Manual Stages
If you manually trigger a Plan build that has manual Stages, you can select which manual Stages to run.
To start a Plan build, manually selecting the Stages to run:
- Navigate to the Plan Summary (not Plan configuration) for the desired Plan.
- Click the 'Run' menu, then click 'Run Customised Plan'.
- Click the 'Stages' tab in the 'Run Customised Build' popup window, and select the desired manual Stages to run.
Note, you will not be able to select automatic Stages. - Click 'Run' to run the Plan.
Configuring a Plan's Build to be Triggered Only Manually or via a Dependency
You can specify that a plan should only ever be built manually or triggered by other builds. This is useful for:
- Broken builds — If a build is broken, you may want to temporarily specify 'Manual & dependent builds only'. This means that a failing build will not be triggered frequently and hence will not take up time and processing power when other builds could be running.
- Dependent builds — If you specify that a build should run when another build successfully finishes, you may want to prevent it from running at other times. You can achieve this by specifying 'Manual & dependent builds only'.
To allow a Plan's build to be triggered only manually or via a dependency:
- Navigate to the repository settings for desired Plan, as described on Specifying the Source Repository for a Plan.
- In the 'Build Strategy' field, select 'Manual & dependent builds only' (see screenshot below).
- Click the 'Save' button.
Screenshot above: Plan Configuration — Build Strategy: Manual builds only
Notes
Related Topics
Attachments:








