Tag triggering
You can schedule Bamboo to run a build automatically whenever a selected tag appears in your repository.
Before you begin
Tag triggering is enabled by default in Bamboo. However, tag trigger type is available only if there's a repository added to your Bamboo instance.
You can use tag triggering in Bamboo with the following repository types:
- Bitbucket Cloud
- Bitbucket Server/ Stash
- GitHub repository
- Git
To schedule builds triggered by tags:
- From the Bamboo header select Build > All build plans.
- Locate the plan in the list and select the edit icon () to display the plan's configuration pages.
- Select the Triggers tab.
- Select Add Trigger.
- Select the Tag trigger type.
- Define your tag name.
Enter the tag which will trigger a build:
You can use regular expressions to filter tag names better.
Decide if you want to Run build if the branch contains the matched tag (default).
When this option is enabled, your build will be automatically triggered only if a selected tag appears in a branch for which this trigger is set. If you clear this option, a build is going to be triggered by a selected tag regardless whether that tag appears on master or a branch.- Select Save trigger.
Your trigger is now created and a build will run automatically if a set tag appears in your repository.
To disable tag triggering in Bamboo:
If for any reasons tag triggering causes any problems on your Bamboo instance, you can disable it by setting the following system property:
atlassian.bamboo.tag.detection.disable=true