Step 1 – Install seleniumhtmlreport
- https://plugins.jenkins.io/seleniumhtmlreport/
Step 2 – Use following code
# CODE 1
seleniumHtmlReport(String testResultLocation = 'target') {}
# CODE 2
job('seleniumreport') {
publishers {
seleniumHtmlReport('target/test-output') {
failOnExceptions()
}
}
}
Latest posts by Rajesh Kumar (see all)
- Apache Lucene Query Example - April 8, 2024
- Google Cloud: Step by Step Tutorials for setting up Multi-cluster Ingress (MCI) - April 7, 2024
- What is Multi-cluster Ingress (MCI) - April 7, 2024