jenkinsci / jenkinsci/git-parameter-plugin

[JENKINS-63239] Git Parameter - "Selected Value: None" doesn't work (type: PT_TAG)

Open
#290 1 comment 0 reactions 0 assignees View on GitHub
component:git-parameter-plugin imported-jira-issue priority:minor resolution:unresolved
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)


  • status: Open
  • priority: Minor
  • component(s): git-parameter-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251216-182730

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

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.