Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-11257

Conditional build step depending on value (or existence) of variable

    XMLWordPrintable

    Details

    • UIS:
      99
    • Support reference count:
      13
    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      Allow an option so that a build step is conditional on the presence or value of a variable.

      A good use case is given here https://answers.atlassian.com/questions/36658/is-it-possible-to-tag-a-bamboo-build-only-if-a-particular-variable-is-set

      A variant of this use case would be to run the VCS tagging step only if the ${bamboo.jira.version} was set - i.e. tag if the build was initiated from jira as a release, but not if the build was initiated manually or due to a repository update.

      Atlassian Update

      We have an App that allows this functionality, which can be downloaded from the Atlassian Marketplace here: Conditional tasks for Bamboo. The App is compatible with Bamboo versions 6.7.1 and above. Please check out the App, and let us know how it works for you!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              mdovey Matthew J. Dovey
              Votes:
              513 Vote for this issue
              Watchers:
              252 Start watching this issue

                Dates

                Created:
                Updated: