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

Git plugin does not seem to understand how to push all tags with '*'

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin
    • None
    • Windows

      I have npm scripts which do all the magic required for incrementing package versions and generating the tag from that version. When it comes to getting the git plugin to push, however, if I configure the tag name to push as '*',

      git tag -l
      

      works the tag is recognised from the command line, and I see that command being issued by the git plugin, however, the tags are not pushed and the plugin errors:

      ERROR: Step ‘Git Publisher’ failed: Tag * does not exist and Create Tag is not specified, so failing.

      I would expect the git plugin to push any tags matched by the name parameter. Even better if I could just say "push all tags" – tagging doesn't have to be the responsibility of this plugin.
       

            Unassigned Unassigned
            davydm Davyd McColl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: