• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin
    • None

      I am trying to get Jenkins to build off a Git repository when tags following a particular naming appear or change (typically "release-*").

      I tried different ways, using refs/tags/release-* as Branch Specifier (in Branches to build), without any luck.

      Digging into the code, it seems that the DefaultBuildChooser only takes branches into consideration, not tags (save for some special case when polling a single branch, but then the tag is still not promoted as a candidate).

      Wouldn't it be useful to also allow to build off tags?

      If there is an alternative way, I'd be curious to hear that too.

          [JENKINS-9713] Poll and match tags on top of branches

          Sebastien Cevey created issue -
          Mark Waite made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 139887 ] New: JNJira + In-Review [ 205103 ]
          jbq made changes -
          Link New: This issue is duplicated by JENKINS-14917 [ JENKINS-14917 ]
          jbq made changes -
          Assignee Original: Andrew Bayer [ abayer ] New: jbq [ jbq ]

            jbq jbq
            theefer Sebastien Cevey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: