Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63577

Jenkinsfile build fail - Null pointer exception in PipelineTriggersJobProperty

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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. 

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            bigboban Petr Leitner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: