Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48523

When condition for Tag build

XMLWordPrintable

    • Pipeline - April 2018

      Similar to how

      when { branch }
      

      is a shortcut to check the BRANCH_NAME environment variable, a

      when { tag }
      

      or something like

      when { isTagBuild }
      

      could be handy for checking if the current build is a tag build.

            rsandell rsandell
            stevenfoster Steven Foster
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: