-
Bug
-
Resolution: Unresolved
-
Critical
-
None
I have Jenkinsfile build and workflow-job plugin installed. Jenkins and all plugins on latest version. When my build first fail (i think reason is not important, some error in Jenkinsfile script) every next build fail on NPE.
I think failed build broke some trigger - set it to null, i don't know why, but it is real. Because every next build try to stop all triggers, every next build fail on NPE. So this job is broken forever.
I think broken code is on PipelineTriggersJobProperty.java:106. Fix is easy - add
if (trigger !=null) {
condition.
And .. voilà - problem is gone.