Reports are not generated when the build is failed in Maven Cucumber Reports

前端 未结 2 1889
旧时难觅i
旧时难觅i 2020-12-01 22:42

Reports are generating successfully when the build is successful but when there are any failed cases which cause build failure, reports are not generated.

ch

2条回答
  •  时光说笑
    2020-12-01 23:05

    Add the following configuration to the sure fire plugin. It will not stop the maven execution after the failure. Then it will generate the report.

    true
    

    as given below with your existing configuration.

    
          org.apache.maven.plugins
          maven-surefire-plugin
          2.20
          
            true
         
    
    

提交回复
热议问题