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

Maven publisher exceptions are catched, doesn't result in failing builds

XMLWordPrintable

    • 1239.v08f725b_927d9

      When one of the maven publishers fail, the exceptions with be catched and logged.

      In our context, large test reports caused the junitPublisher to fail with an OOM exception. Instead of setting the build to unstable or failed, the exception was catched and the build succeeded. After weeks, we discovered that there were failing tests, since the builds all succeeded.

      Therefore, I would suggest to set the build result to failed when an exception is thrown by any Maven publisher.

            bguerin Benoit
            bvdb Bas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: