jenkinsci / jenkinsci/git-parameter-plugin
[JENKINS-63239] Git Parameter - "Selected Value: None" doesn't work (type: PT_TAG)
- Dominant language
- Java
- Stars
- 131
- Forks
- 134
- Avg merge
- 21h 5m
- Merged PRs (30d)
- 1
Description
The "Selected Value" in Git Parameter plugin (type: PT_TAG) seems to always be "TOP" even if you explicitly select "NONE". I would like it to be empty/NONE unless the user explicitly selects a tag. In my use case, I'd like the tag selection to be optional, but it always defaults to an existing tag whether I like it or not.
---
Originally reported by sneakypanda7, imported from: Git Parameter - "Selected Value: None" doesn't work (type: PT_TAG)
Raw content of original issue
The "Selected Value" in Git Parameter plugin (type: PT_TAG) seems to always be "TOP" even if you explicitly select "NONE". I would like it to be empty/NONE unless the user explicitly selects a tag. In my use case, I'd like the tag selection to be optional, but it always defaults to an existing tag whether I like it or not.
environment
```
Jenkins Version: 2.204.2
Git Parameter Plugin Version: 0.9.12
```
Contributor guide
Assessment
This issue has not been assessed yet.