allure-plugin icon indicating copy to clipboard operation
allure-plugin copied to clipboard

Is there a way to generate and send the summary report by email?

Open carledriss opened this issue 9 years ago • 29 comments

carledriss avatar Sep 02 '15 15:09 carledriss

It would be nice to have such functionality on our CI.

kermek avatar Oct 13 '15 06:10 kermek

+1

sharadJay avatar Oct 18 '15 14:10 sharadJay

+1

arpitgold avatar Oct 19 '15 08:10 arpitgold

+1

dimkin-eu avatar Mar 10 '16 08:03 dimkin-eu

+1

danieldatri avatar Jul 20 '16 15:07 danieldatri

+1

beshanoe avatar Aug 12 '16 11:08 beshanoe

+1

srnathanx avatar Sep 29 '16 13:09 srnathanx

+1

RathaKM avatar Nov 08 '16 06:11 RathaKM

https://github.com/allure-framework/allure2/issues/127

eroshenkoam avatar Feb 12 '17 10:02 eroshenkoam

+1

sapdas1977 avatar May 03 '17 09:05 sapdas1977

+1

Sandu1213 avatar May 03 '17 11:05 Sandu1213

+1

R2Rs avatar Sep 11 '17 09:09 R2Rs

+1

yuran4eg avatar Sep 15 '17 08:09 yuran4eg

I'm also looking for something similar

sanchit07 avatar Nov 07 '17 03:11 sanchit07

+1

fertroya avatar Nov 17 '17 16:11 fertroya

+1

darkklin avatar Jan 25 '18 22:01 darkklin

+1

SergiyBeno avatar Feb 13 '18 17:02 SergiyBeno

This is not in scope of allure!

If you are using CI you can either use gradle/ant task to send email or you can send email from jenkins...

-5

MartinKeprta avatar Mar 10 '18 18:03 MartinKeprta

+1 I think it will be nice to have just a screenshot of the Summary page(or even better any page) of the report so that we can send it over email. I would agree with @MartinKeprta that sending the email itself is out of scope for Allure.

mnedkov avatar Apr 18 '18 09:04 mnedkov

the main idea is that Allure can generate a single html file with report summary to /allure-report/export folder, and then you can configure Jenkins to send it via email. At the moment the only issue from our side is that we have no template for such email. It would be so nice if some of you will contribute it

https://github.com/allure-framework/allure2/blob/master/allure-generator/src/main/resources/tpl/mail.html.ftl - Freemarker template

https://github.com/allure-framework/allure2/blob/master/allure-generator/src/main/java/io/qameta/allure/mail/MailPlugin.java - Mail plugin

baev avatar Apr 18 '18 11:04 baev

+1

amangrover1 avatar Jun 18 '18 16:06 amangrover1

Hi @baev,

Could you please point on the references that can be used for the email template creation?

Thanks, Dmitriy

bop0hz avatar Aug 10 '18 11:08 bop0hz

@bop0hz

At the moment there is draft template present in allure generator. See

https://github.com/allure-framework/allure2/blob/c4496b2ae22465affe64a24acafe72349ac1153a/allure-generator/src/main/java/io/qameta/allure/mail/MailPlugin.java https://github.com/allure-framework/allure2/blob/c4496b2ae22465affe64a24acafe72349ac1153a/allure-generator/src/main/resources/tpl/mail.html.ftl

If you are going to implement it, here is some thoughts:

  1. we need to implement some sort of overview page summary from report.
  2. template work offline (include external scripts and styles directly to the template)
  3. mail should be displayed correctly in major mail clients

baev avatar Aug 10 '18 13:08 baev

Hello Team,

+1,

Need your help in solving this functionality as this helps rather going and checking the required report from html page all the time, it solves the problem by receiving the information via email.

SrinivasaGoteti avatar Sep 04 '18 22:09 SrinivasaGoteti

Hi @baev,

Is there an expected time arrival for this 'Allure summary report by email' feature release?

NirBehalf avatar Sep 26 '18 08:09 NirBehalf

HI @baev any update on this please?

0107shashankgarg avatar Nov 22 '18 15:11 0107shashankgarg

HI Team,

This is an indispensable feature to have. Please let us know if it is expected soon.

I believe until then we can continue to use - https://github.com/fescobar/allure-docker-service#customize-emailable-report

deepakguna avatar Jan 16 '20 02:01 deepakguna

Hey Guys,

I finally found a work around which doesn't involve any third party hosting or using amazon was s3 bucket. Please find my answer which involves a shell script/batch script in the below stackoverflow link,

https://stackoverflow.com/questions/41960081/how-to-send-an-email-of-allure-report/64011632#64011632

Hope this helps for those who are facing the same issue.

Thanks!!

karthick4kumaran avatar Sep 22 '20 14:09 karthick4kumaran

I've made a tool to build whole allure generate' result folder into a single html file viewable from browser: https://github.com/MihanEntalpo/allure-single-html-file

MihanEntalpo avatar Jun 15 '22 05:06 MihanEntalpo