Forum Discussion

chilber's avatar
chilber
Occasional Contributor
5 years ago
Solved

Jenkins does not recognize ReadyApi maven plug-in test failures as unstable build

We're using Ready Api 2.3.0 with the ready-api-maven-plugin 2.3.0 to run our tests, which works fine. Although some tests fail, Jenkins does not recognice the build as unstable, as it should when t...
  • JustinM89's avatar
    5 years ago

    You are ignoring test failures in your plugin config in this line:

     

    <testFailIgnore>true</testFailIgnore>

     

    Actually, that's not quite correct, according to the documentation, this property determines if a test will continue running if it encounters an error:

     

    Continues the test run even if an assertion triggers.
    Possible values: true, false.

     

    After your test runs, you can use the JUnit plugin to parse the results, and that will pass/fail the build.