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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.