jenkinsci / jenkinsci/git-plugin

[JENKINS-33445] GitScmSource does not return tags via retrieve method

Open
#2,814 7 comments 0 reactions 0 assignees View on GitHub
component:git-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
694
Forks
1.1k
Avg merge
1h 29m
Merged PRs (30d)
3

Description

Currently the GitScmSource class does not expose tags in the list of branches that are returned via the retrieve method.

This means that plugins which make use of this class are unable to build against specific tags, for example the multi-branch-plugin[1].

[1] https://wiki.jenkins-ci.org/display/JENKINS/Multi-Branch+Project+Plugin

---
Originally reported by csmart, imported from: GitScmSource does not return tags via retrieve method


  • status: Open
  • priority: Minor
  • component(s): git-plugin
  • label(s): git
  • resolution: Unresolved
  • votes: 2
  • watchers: 5
  • imported: 2025-12-02

Raw content of original issue

Currently the GitScmSource class does not expose tags in the list of branches that are returned via the retrieve method.

This means that plugins which make use of this class are unable to build against specific tags, for example the multi-branch-plugin[1].

[1] https://wiki.jenkins-ci.org/display/JENKINS/Multi-Branch+Project+Plugin

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.