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)
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024