Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:00 Go to next message
Leslie Palayil is currently offline Leslie PalayilFriend
Messages: 3
Registered: August 2014
Junior Member
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 18:42 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
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


Winston Prakash
Eclipse Hudson team
Re: Email jBehave reports or workspace artifacts as attachments [message #1766372 is a reply to message #1413911] Tue, 20 June 2017 17:19 Go to previous messageGo to next message
Amitesh Srivastava is currently offline Amitesh SrivastavaFriend
Messages: 2
Registered: June 2017
Junior Member
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 11:11 Go to previous message
Amitesh Srivastava is currently offline Amitesh SrivastavaFriend
Messages: 2
Registered: June 2017
Junior Member
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 Apr 23 17:38:57 GMT 2024

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

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

Back to the top