jenkinsci / jenkinsci/github-branch-source-plugin
[JENKINS-66185] Multibranch Pipeline triggers unnecessary jobs for pull requests
- Dominant language
- Java
- Stars
- 217
- Forks
- 398
- Avg merge
- 30m
- Merged PRs (30d)
- 1
Description
we have a mutlibranch pipeline connected to Github Enterprise repo, that has a filter to get one main branch and pull requests to create jobs. The branches have a configured Jenkinsfile with a pipeline included. The most of the time it works as expected but sometimes (often) the branch indexing goes crazy and triggers unnecessary jobs.
It forgets that there is already a build for that specific level on the pullrequest or branch and triggers a build. When it happens it feels like jenkins forgot everything and triggers a builds for a full bunch of pull requests.
Can you advice what to do?
What logs or information we can provide to get a fix for the issue?
---
Originally reported by jimjaeger, imported from: Multibranch Pipeline triggers unnecessary jobs for pull requests
aytuncbeken
Raw content of original issue
we have a mutlibranch pipeline connected to Github Enterprise repo, that has a filter to get one main branch and pull requests to create jobs. The branches have a configured Jenkinsfile with a pipeline included. The most of the time it works as expected but sometimes (often) the branch indexing goes crazy and triggers unnecessary jobs.
It forgets that there is already a build for that specific level on the pullrequest or branch and triggers a build. When it happens it feels like jenkins forgot everything and triggers a builds for a full bunch of pull requests.
Can you advice what to do?
What logs or information we can provide to get a fix for the issue?
Contributor guide
Assessment
This issue has not been assessed yet.