Skip to main content



      Home
Home » Archived » Hudson » Email jBehave reports or workspace artifacts as attachments
Email jBehave reports or workspace artifacts as attachments [message #1413824] Fri, 29 August 2014 10:00 Go to next message
Eclipse UserFriend
I am using jBehave hudson plugin to run functional tests on my application and it generates a report after every successful build.
The reports are graphical as well as have detailed information as to which stories and scenarios fail.
There is also a html report generated in workspace.
I need a way to export this information and email it to someone after every build.

Is there a plugin available to achieve this?
Has anyone done something similar to this before?
Re: Email jBehave reports or workspace artifacts as attachments [message #1413911 is a reply to message #1413824] Fri, 29 August 2014 14:42 Go to previous messageGo to next message
Eclipse UserFriend
You could use email-ext plugin. We generate HTML and e-mail it as shown in the screenshot

https://dl.dropboxusercontent.com/u/13144273/email-ext-sample.png
Re: Email jBehave reports or workspace artifacts as attachments [message #1766372 is a reply to message #1413911] Tue, 20 June 2017 13:19 Go to previous messageGo to next message
Eclipse UserFriend
I am also stuck in same kind of situation.
My requirements are same to send jbehave-report via email after successful build to certain receipients.
But after using email-ext, plugin I am still unable to send reports.
I am using below script to send report as attachment in success event of build-

def reportPath=build.getWorkspace().child("target/jbehave-report/view/index.html")
msg.setContent(reportPath.readToString(),"text/html");

Is there any other way to do that? Can someone give step by step procedure to do that?
Re: Email jBehave reports or workspace artifacts as attachments [message #1767373 is a reply to message #1766372] Wed, 05 July 2017 07:11 Go to previous message
Eclipse UserFriend
Kindly refer for below attachment for emailing results to someone.
Previous Topic:Reference SVN tagged job in second job
Next Topic:Subversion issue('s)
Goto Forum:
  


Current Time: Tue Jul 08 05:33:00 EDT 2025

Powered by FUDForum. Page generated in 0.04157 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top