jenkinsci / jenkinsci/git-plugin

[JENKINS-10764] When the pre-build merge option is used, build record indicates incorrect commit ID

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

Description

When the said option is used, the BuildData object associated with the build incorrectly indicates a commit before a merge, not the commit as a result of the merge, which was actually built.

---
Originally reported by kohsuke, imported from: When the pre-build merge option is used, build record indicates incorrect commit ID


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

Raw content of original issue

When the said option is used, the BuildData object associated with the build incorrectly indicates a commit before a merge, not the commit as a result of the merge, which was actually built.

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.