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

Jenkins build successful when scalatest-maven-plugin encounters "run aborted" exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Our Jenkins build server runs on 64-bit VM running Ubuntu 10.04. We are currently running Jenkins 1.537.

      When a ScalaTest suite fails with "RUN ABORTED" exception using scalatest-maven-plugin, the Jenkins build shows as successful.

      I believe the root cause of the issue is with Jenkins since if I run the Maven build on the command-line (with the same arguments as passed by Jenkins) it fails as expected.

      See the related ScalaTest ticket with more details for recreating the issue: https://github.com/scalatest/scalatest/issues/297
      I opened the ticket with ScalaTest as well as Jenkins since I believe the scalatest-maven-plugin could work around the issue.

      As mentioned in the ScalaTest ticket, this seems related to: https://github.com/scalatest/scalatest/issues/273
      .. which states that "The bottom line is that the build succeeds because no result xml files were written."

            Unassigned Unassigned
            lofi Donovan Levinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: