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

git-plugin doesn't support tags

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • git-plugin
    • None

    Description

      The git-plugin doesn't tags as it always uses refs/heads as a prefix

      https://github.com/jenkinsci/git-plugin/blob/master/src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java#L417

      JENKINS-34395 is similar but the resolution for this might be different.

      One option would be to allow users to override the default ref prefix.  Alternatively we could allow multiple user defined ref prefixes in the same way they specify ref specs.

      Attachments

        Issue Links

          Activity

            kbrowder Kevin Browder added a comment - - edited

            I may be able to do a PR in the coming days assuming someone else doesn't feel strongly enough about this to take it up.

            kbrowder Kevin Browder added a comment - - edited I may be able to do a PR in the coming days assuming someone else doesn't feel strongly enough about this to take it up.

            People

              Unassigned Unassigned
              kbrowder Kevin Browder
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: