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."
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]