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:
      81
    • Support reference count:
      13
    • UIS:
      225

      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.

        Attachments

          Issue Links

            Activity