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

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

    XMLWordPrintable

    Details

    • Last commented by user?:
      true
    • Comments:
      82
    • Support reference count:
      13
    • UIS:
      115

      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