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

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin

      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)

          [JENKINS-28598] JenkinsAbstractProjectListener ::onNotifyCommit() totally fails if a runtime exception happens in one item

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

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

              Created:
              Updated: