In this recipe, we will integrate Jenkins and Cucumber to publish Cucumber reports using Jenkins.
Jenkins and Cucumber test reports
Getting ready
Go to the Jenkins dashboard | Manage Jenkins | Manage Plugins | Available.
Install the Cucumber reports plugin:
Click on Install without restart.
How to do it...
- Create a Maven Project in Jenkins.
- Select any GitHub project that has Cucumber integrated in it and which generates a .JSON file as a report:
- Configure Root POM and the test goal in the Build section:
- Select Cucumber reports from Post-build Actions.
- Add the ...