jenkinsci / jenkinsci/git-plugin

[JENKINS-60159] Multibranch pipeline - existing branch seen as first time build

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

Description

Sometimes when building an existing multi-branch pipeline, the build is incorrectly regarded as first-time. The console log shows "First time build. Skipping changelog." ,and the build-overview says "no changes", both incorrectly.

 

This results in confusion whether commits/merges have been done correctly as they are not visible.

---
Originally reported by thomasminke, imported from: Multibranch pipeline - existing branch seen as first time build


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

Raw content of original issue

Sometimes when building an existing multi-branch pipeline, the build is incorrectly regarded as first-time. The console log shows "First time build. Skipping changelog." ,and the build-overview says "no changes", both incorrectly.

 

This results in confusion whether commits/merges have been done correctly as they are not visible.

  • environment: git-plugin:4.0.0 git-client-plugin:3.0.0. Jenkins:2.204. AWS Linux AMI 2.

4 attachments

- [image-2022-03-07-17-56-03-843.png](https://issues.jenkins.io/secure/attachment/57406/image-2022-03-07-17-56-03-843.png)
> ![image-2022-03-07-17-56-03-843.png](https://issues.jenkins.io/secure/attachment/57406/image-2022-03-07-17-56-03-843.png)
- [jenkins-issue-console-log.png](https://issues.jenkins.io/secure/attachment/49501/jenkins-issue-console-log.png)
> ![jenkins-issue-console-log.png](https://issues.jenkins.io/secure/attachment/49501/jenkins-issue-console-log.png)
- [jenkins-issue-pipeline-run-overview.PNG](https://issues.jenkins.io/secure/attachment/49500/jenkins-issue-pipeline-run-overview.PNG)
> ![jenkins-issue-pipeline-run-overview.PNG](https://issues.jenkins.io/secure/attachment/49500/jenkins-issue-pipeline-run-overview.PNG)
- [screenshot-1.png](https://issues.jenkins.io/secure/attachment/56712/screenshot-1.png)
> ![screenshot-1.png](https://issues.jenkins.io/secure/attachment/56712/screenshot-1.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.