jenkinsci / jenkinsci/git-plugin

[JENKINS-56914] Git plugin does not seem to understand how to push all tags with '*'

Open
#3,422 5 comments 0 reactions 0 assignees View on GitHub
component:git-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
694
Forks
1.1k
Avg merge
1h 29m
Merged PRs (30d)
3

Description

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.

 

---
Originally reported by davydm, imported from: Git plugin does not seem to understand how to push all tags with '*'


  • status: Open
  • priority: Minor
  • component(s): git-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-02

Raw content of original issue

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.
 

  • environment: Windows

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.