Tag triggering

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

You can schedule Bamboo to run a build automatically whenever a selected tag appears in your repository. 

はじめる前に

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:

  1. Click Dashboard and then the All Plans tab.
  2. Locate the plan in the list and click the edit icon to display the plan's configuration pages.
  3. Click the Triggers tab.
  4. Click Add Trigger.
  5. Select the Tag trigger type. 
  6. Define your tag name.
  7. Enter the tag which will trigger a build: 

    You can use regular expressions to filter tag names better.

  8. 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.

  9. Click 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 
最終更新日 2020 年 11 月 23 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.