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: ...

Get Jenkins 2.x Continuous Integration Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.