jenkinsci / jenkinsci/git-plugin

[JENKINS-29512] Select latest tagged commit on branch

Open
#2,690 0 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

I'd like to create a job that builds the latest stable release, but ignores commits on the stable branch between releases.

For this, I need to select the latest commit (shortest distance from branch tip) that also has a tag.

---
Originally reported by simonrichter, imported from: Select latest tagged commit on branch


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

Raw content of original issue

I'd like to create a job that builds the latest stable release, but ignores commits on the stable branch between releases.

For this, I need to select the latest commit (shortest distance from branch tip) that also has a tag.

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.