jenkinsci / jenkinsci/git-plugin

[JENKINS-27444] Git revision information displays information regarding last build

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

Description

Visiting the build page shortly after a new build has been started, the revision information displayed is from the last build.

Obviously, Jenkins only knows the details on the current revision after the SCM step is done. However, on several occassions this has lead to confusion among our users, who thought something was going wrong and aborted the build.

How about not displaying revision information until it is available? Would that be possible?

---
Originally reported by tba, imported from: Git revision information displays information regarding last build


  • status: Open
  • priority: Major
  • component(s): git-plugin
  • label(s): bug, gui, user-experience
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 2025-12-02

Raw content of original issue

Visiting the build page shortly after a new build has been started, the revision information displayed is from the last build.

Obviously, Jenkins only knows the details on the current revision after the SCM step is done. However, on several occassions this has lead to confusion among our users, who thought something was going wrong and aborted the build.

How about not displaying revision information until it is available? Would that be possible?

  • environment: Jenkins 1.580.2, Git Plugin 2.3.2

1 attachment

- [shown_revision_vs_requested_branch.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/28759/shown_revision_vs_requested_branch.png)
> ![shown_revision_vs_requested_branch.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/28759/shown_revision_vs_requested_branch.png)

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.