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

events listeners failures cause build to fail

    XMLWordPrintable

Details

    Description

      MF plugin (specifically most of the Octane CI integration logic) has several Jenkins' events listeners - on builds, on workflow, on SCM and on item changes.

      Those listeners are running on the mail thread, and therefore any uncaught failure in them will cause the whole build to fail.

      This is not correct. Correct way to do it, is that any non-mission critical failure (which is none of the Octane's plugin provided functionalities as of now) should handle any failure silently, log it to its own log and let the build to continue.

      Attachments

        Activity

          gullerya Yuri Guller added a comment -

          All Octane's related logic, which is running on the Jenkins' main events thread, was wrapped in exception catch to prevent interfering with the build continuity.

          gullerya Yuri Guller added a comment - All Octane's related logic, which is running on the Jenkins' main events thread, was wrapped in exception catch to prevent interfering with the build continuity.

          People

            gullerya Yuri Guller
            gullerya Yuri Guller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: