How To Send Cucumber Report in Email Through Jenkins



In this article, we are again going to learn one of the interesting topic on how to send Cucumber Report as an attachment in email with Jenkins.

Before going further I assume you already have installed and configured email notifications on your Jenkins server. 

To know how to install and configure email notifications on your Jenkins server click on this link.

How to Setup Cucumber Report in Automation Framework



To do the configuration for sending out extent report on the email we need to follow below steps:

1)    Login into Jenkins.

2)    Create a New Project.

3)    Under the General Section, Click on Advanced Button.


4)    Click on the checkbox to Use Custom workspace and provide the path of your custom workspace from where we wanted to pick up the report.



5)    Provide the path of your Cucumber report in the attachments section Under Editable email notification section.



6)    Build your Jenkins job.

7)    Once the job execution is completed, we would be able to see Cucumber report as an attachment in your mailbox.






SHARE THIS

Author:

My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post