jenkinsci / jenkinsci/git-plugin
[JENKINS-56914] Git plugin does not seem to understand how to push all tags with '*'
- 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 '*'
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 -lworks 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
Assessment
This issue has not been assessed yet.