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

git tag patterns not handled like cli git

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-client-plugin
    • None
    • git client plugin 1.19.6

      When filtering a list of tags with 'git tag -l' or 'git ls-remote --tags' on the command line, multiple space-delimited patterns may be specified. See git-tag.

      This does not work with the Jenkins git-client-plugin. The pattern list is processed as a single parameter; while using the Git Parameter plugin to try and present a list of tags using two tag patterns, I got no tags.

      According to git-check-ref-format, spaces are not a valid character for git references. So it should be safe to split any passed-in patterns and iterate over them.

            Unassigned Unassigned
            wsaxon Will Saxon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: