I have some integration tests (with Selenium) that run with the fail-safe maven plugin. Failsafe only generates XML report files.
1) I want to generate HTML reports
2) I want to have a link in Jenkins in html reports
For 1) I installed "maven-surefire-report-plugin" to use the goal of a non-stop report.
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.13</version> <executions> <execution> <phase>post-integration-test</phase> <goals> <goal>failsafe-report-only</goal> </goals> </execution> </executions> </plugin>
But nothing is created in the standard output:
[INFO] [INFO] >>> maven-surefire-report-plugin:2.13:failsafe-report-only (default) @ BaseContrats >>> [INFO] [INFO] <<< maven-surefire-report-plugin:2.13:failsafe-report-only (default) @ BaseContrats <<< [INFO] [INFO] --- maven-surefire-report-plugin:2.13:failsafe-report-only (default) @ BaseContrats ---
In my fault tolerant reporting directory, I only have XML report files, but not HTML files.
Is this a good html fault tolerance plugin?
For 2) I installed the Jenkins plugin "Selenium HTML report" and added the post build action "Publish Selenium HTML report" and configured it with the "target / failafe-reports" parameter for the "Selenium Results Search Results" parameter, but nothing is displayed in the interface Jenkins (of course, because my html report file is not generated ...).
Could you help me for these 2 points?
source share