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

JenkinsAbstractProjectListener ::onNotifyCommit() totally fails if a runtime exception happens in one item

    XMLWordPrintable

Details

    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)

      Attachments

        Issue Links

          Activity

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-26761 [ JENKINS-26761 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 163444 ] JNJira + In-Review [ 181241 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels npe newbie-friendly npe
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            markewaite Mark Waite made changes -
            Labels newbie-friendly npe npe

            People

              Unassigned Unassigned
              oleg_nenashev Oleg Nenashev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: