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

git-plugin should support tags in multibranch pipeline configurations

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

      Currently the git plugin doesn't seem to support tags in multi-branch builds.  It looks like this is because the ref prefixes are hard-coded. See: https://github.com/jenkinsci/git-plugin/blob/master/src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java#L417

      This is similar to JENKINS-34395 but for the git plugin.  I'm creating a  separate issue because the causes and the fixes appear to be unrelated.

          [JENKINS-46207] git-plugin should support tags in multibranch pipeline configurations

          Kevin Browder created issue -
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]

          Kevin Browder added a comment -

          Oh that's weird JIRA said it lost this when i created it, apparently it didn't, marking as duplicate.  My Applologies

          Kevin Browder added a comment - Oh that's weird JIRA said it lost this when i created it, apparently it didn't, marking as duplicate.  My Applologies
          Kevin Browder made changes -
          Link New: This issue duplicates JENKINS-46208 [ JENKINS-46208 ]
          Kevin Browder made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

          Prefer this one to JENKINS-46208 as this has a better description

          Stephen Connolly added a comment - Prefer this one to JENKINS-46208 as this has a better description
          Stephen Connolly made changes -
          Resolution Original: Duplicate [ 3 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Stephen Connolly made changes -
          Link New: This issue is duplicated by JENKINS-46208 [ JENKINS-46208 ]
          Stephen Connolly made changes -
          Link Original: This issue duplicates JENKINS-46208 [ JENKINS-46208 ]

          Nothing to do with ref-specs, the actual impl is more complex.

          My initial stab at an implementation is https://github.com/jenkinsci/git-plugin/pull/528

          Will need testing before we can merge... will likely need changes in branch-api to prevent build storms unless I was good at anticipating the needs of tags

          Stephen Connolly added a comment - Nothing to do with ref-specs, the actual impl is more complex. My initial stab at an implementation is https://github.com/jenkinsci/git-plugin/pull/528 Will need testing before we can merge... will likely need changes in branch-api to prevent build storms unless I was good at anticipating the needs of tags

            stephenconnolly Stephen Connolly
            kbrowder Kevin Browder
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: