jenkinsci / jenkinsci/git-plugin
[JENKINS-60159] Multibranch pipeline - existing branch seen as first time build
- 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
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)
> 
- [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)
> 
- [screenshot-1.png](https://issues.jenkins.io/secure/attachment/56712/screenshot-1.png)
> 
Contributor guide
Assessment
This issue has not been assessed yet.