jenkinsci / jenkinsci/git-plugin

[JENKINS-54895] Jenkins build used wrong commit number

Open
#3,366 3 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

The builds on our release branch, release/6.4, do not always pick up the latest commit.  It was 15 commits behind the most recent commit on the most recent build, which is build 410.  Build 409, however, used the correct commit.   JENKINS-37263 describes a similar problem, but the issue occurred on a local branch and this is not a local branch.

The build logs are attached and any company or user specific info has been changed to be generic.

---
Originally reported by altatude1, imported from: Jenkins build used wrong commit number


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

Raw content of original issue

The builds on our release branch, release/6.4, do not always pick up the latest commit.  It was 15 commits behind the most recent commit on the most recent build, which is build 410.  Build 409, however, used the correct commit.   JENKINS-37263 describes a similar problem, but the issue occurred on a local branch and this is not a local branch.

The build logs are attached and any company or user specific info has been changed to be generic.

environment

```
Freestyle project

Jenkins 2.134

Windows 10

Plugins are listed in the attached build log.
```

2 attachments

- [build_409.xml](https://issues.jenkins.io/secure/attachment/45298/build_409.xml)
- [build_410.xml](https://issues.jenkins.io/secure/attachment/45299/build_410.xml)

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.