O'Reilly logo

Jenkins 2.x Continuous Integration Cookbook - Third Edition by Alan Mark Berg, Mitesh Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

  1. Create a Maven Project in Jenkins.
  2. Select any GitHub project that has Cucumber integrated in it and which generates a .JSON file as a report:
  1. Configure Root POM and the test goal in the Build section:
  1. Select Cucumber reports from Post-build Actions.
  2. Add the *.json file that will be generated after the test execution:
  1. Save the build job.
  2. Click on Build now.
  1. Go to the Console Output and verify the test execution logs: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required