Afternoon all, I was after some assistance please with cucumber reporting in Jenkins. So I have a post build action which incorporates the cucumber reports plugin. This in turn creates a nice html page in the builds folder in jenkins.
However the issue I have is that I then want to take this html report and attach it to an email I am generating with the test results in, using the Editable Email Notification plugin. The issue I have is that the root folder for adding any attachements via this plugin is the workspace folder.
However, from what I can see nothing gets generated in my workspace folder; instead it goes here: C:\Users\ my name .jenkins\jobs\feedback_firefox\builds\69\cucumber-html-reports
I was wondering if anyone had any advice. My thinking is that I have 2 options but I’m not sure how best to action them:
- Is there a way for the cucumber reports to be written directly to the workspace folder? This means I then have access to the html report directly from that folder
- If ‘1’ does isn’t viable am I able to somehow copy the report from the folder where the reports are initially written to, over to the workspace folder?