BUILD FAILURE even with <testFailureIgnore> set to true and <checkBuildResult> set to false
ozturktx opened this issue · 6 comments
ozturktx commented
--------------------Plugins-------------------
org.apache.maven.plugins maven-surefire-plugin 2.22.1 **/*Test.java true net.masterthought maven-cucumber-reporting 4.8.0 execution verify generate cucumber-jvm-example ${project.build.directory}/cucumber-pretty-reports ${project.build.directory} **/cucumber.json sample.properties other.properties falseOutput
[ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-cucumber-reporting:4.8.0:generate (execution) @ mattermanagement-web ---
[INFO] About to generate Cucumber report.
Jul 18, 2019 3:21:33 PM net.masterthought.cucumber.ReportParser parseJsonFiles
INFO: File 'C:\work\projects\Galileo\mattermanagement-web\target\cucumber.json' contains 1 features
[INFO]
[INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ mattermanagement-web ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:39 min
[INFO] Finished at: 2019-07-18T15:21:33-05:00
[INFO] Final Memory: 86M/828M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.22.1:verify (default) on project mattermanagement-web: There are test failures.
Can't figure it out why it shows build failure for a specific test failure.
damianszczepanik commented
and the maven configuration?
ozturktx commented
not sure what u mean with maven configuration? that's how I run it
mvn clean verify -P integration -D it.test=Runner
damianszczepanik commented
pom.xml file
ozturktx commented
RomaSha2009 commented
Try to set a lower version of maven-cucumber-report. In my case v3.10.0 resolved the issue.
damianszczepanik commented
Well, based on this I think the problem is with configuration failsafe plugin and not the cucumber itself