jenkinsci / jenkinsci/git-parameter-plugin

[JENKINS-63764] git parameter used in checkout sharelibrary not show the list of tags or branches

Open
#291 0 comments 0 reactions 0 assignees View on GitHub
component:git-parameter-plugin imported-jira-issue priority:major resolution:unresolved
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


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

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

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.