JENKINS - Publish HTML Report
27.4 هزار بار بازدید -
4 سال پیش
-
Step to Integrate HTML Report
Step to Integrate HTML Report in Jenkins
Jenkins Setup:
1. Goto Manage Jenkins
2. Add HTML Publisher plugin
3. Create MVN project
4. Pass your POM root file directory
5. mvn command – clean test
6. Post-build action : Select Publish HTML Report
7. Enter HTML Report Pattern as **/report.html
8. If report not in html format navigate to below path in jenkins and run the command and re-run your build.
Manage Jenkins--Manage Nodes--Click settings(gear icon)--
click Script console on left and type in the following command:
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")
Jenkins Setup:
1. Goto Manage Jenkins
2. Add HTML Publisher plugin
3. Create MVN project
4. Pass your POM root file directory
5. mvn command – clean test
6. Post-build action : Select Publish HTML Report
7. Enter HTML Report Pattern as **/report.html
8. If report not in html format navigate to below path in jenkins and run the command and re-run your build.
Manage Jenkins--Manage Nodes--Click settings(gear icon)--
click Script console on left and type in the following command:
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")
4 سال پیش
در تاریخ 1399/09/11 منتشر شده
است.
27,453
بـار بازدید شده