jenkinsci / jenkinsci/git-plugin
[JENKINS-28598] JenkinsAbstractProjectListener ::onNotifyCommit() totally fails if a runtime exception happens in one item
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
JenkinsAbstractProjectListener::onNotifyCommit() checks all projects with SCM triggers sequentially. Then it calls getSCMs() of the project and processes SCMs. If the method somehow fails (e.g. NPE), the method exists => one corrupted project may cause a total outage of Git SCM triggers
Example of the issue: JENKINS-26761 (caused by workflow-plugin)
---
Originally reported by
oleg_nenashev, imported from: JenkinsAbstractProjectListener ::onNotifyCommit() totally fails if a runtime exception happens in one item
Raw content of original issue
JenkinsAbstractProjectListener::onNotifyCommit() checks all projects with SCM triggers sequentially. Then it calls getSCMs() of the project and processes SCMs. If the method somehow fails (e.g. NPE), the method exists => one corrupted project may cause a total outage of Git SCM triggers
Example of the issue:
JENKINS-26761(caused by workflow-plugin)
Contributor guide
Assessment
This issue has not been assessed yet.