jenkinsci / jenkinsci/git-parameter-plugin
[JENKINS-63764] git parameter used in checkout sharelibrary not show the list of tags or branches
- Dominant language
- Java
- Stars
- 131
- Forks
- 134
- Avg merge
- 21h 5m
- Merged PRs (30d)
- 1
Description
When I use the stage of checkout syntax and git parameter synatx from pipeline-syntax, git parameter lists all the tags and branches. But when I put checkout synatx into sharelibrary, I found that git parameter could only show the defaultValue rather than all tags or branches. Is this a bug of git parameter plugin or a bug of sharelibrary?
---
Originally reported by devops_wang, imported from: git parameter used in checkout sharelibrary not show the list of tags or branches
Raw content of original issue
When I use the stage of checkout syntax and git parameter synatx from pipeline-syntax, git parameter lists all the tags and branches. But when I put checkout synatx into sharelibrary, I found that git parameter could only show the defaultValue rather than all tags or branches. Is this a bug of git parameter plugin or a bug of sharelibrary?
environment
```
Jenkins ver. 2.222.1
git parameter plug-in 0.9.13
```
Contributor guide
Assessment
This issue has not been assessed yet.