Friday, September 20, 2019

Post#97.Generate TestNG Report in Jenkins


Generate TestNG Report in Jenkins


To generate TestNG reports in Jenkins, we must install TestNG plugins.

Open Jenkins (localhost:8080) and click on ‘Manage Jenkins’ and click on ‘Manage Plugins


Click on ‘Available‘ tab and select the check box against ‘TestNG Results Plugin‘ and click on ‘Install Without Restart



Once the TestNG plugin is installed then Choose to configure the Build.

Go to Post-build Actions and select Publish TestNG Results option.

Save the changes made so far.
Run the project again using Build Now Link, refresh the Page.


Click the TestNG Results and select the Build Number, now it will navigate to result page.




No comments:

Post a Comment