Questions tagged [email-ext]

Email-ext is a Jenkins plugin, it allows you to configure every aspect of email notifications. You can customize when an email is sent, who should receive it, and what the email says.

Email-ext is a Jenkins plugin, it allows you to configure every aspect of email notifications. You can customize when an email is sent, who should receive it, and what the email says.

218 questions
37
votes
7 answers

Display HTML page inside mail body with Email-ext plugin in Jenkins

I am new to Jenkins and I want to know how it is possible to display the HTML report (not the HTML code) generated after a successful build inside a mail body (not as an attachment). I want to know the exact steps I should follow and what should be…
HobbitOfShire
  • 2,144
  • 5
  • 24
  • 41
36
votes
8 answers

Jenkins Email sending fails

I set up the JENKINS Editable Email notification for my project with trigger for all builds. the build runs successfully but the emails does not send. The follwing is the result in the console output. BUILD SUCCESSFUL Total time: 43 seconds Email…
Roam
  • 361
  • 1
  • 3
  • 3
25
votes
4 answers

Get URL of Job in mail body in Jenkins

I have Job in Jenkins that sends an email after the build with a HTML report in its body using email-ext plugin by setting Default content to this : ${FILE,path="absolute_path/index.html"} I want to add to this (my body mail ) the URL of the build…
HobbitOfShire
  • 2,144
  • 5
  • 24
  • 41
24
votes
5 answers

Getting email-ext script templates to work with Jenkins pipeline

I recently converted to Jenkins 2.x and I am experimenting with pipeline flow, but I can't seem to get the email-ext plugin to work with groovy script templates. Although my standard flow still work fine, if I try the following I get an error with…
naven87
  • 964
  • 1
  • 7
  • 24
24
votes
11 answers

Jenkins email-ext plugin not sending mail

I have Jenkins version 1.480.3 installed on my machine and Email-Extention Plugin 2.30.2. Test mail from "Manage Jenkins" section works fine. When I add editable email notification to my jobs, I am not receiving it. Also tried configuring "Triggers"…
Praveen
  • 657
  • 3
  • 9
  • 23
19
votes
1 answer

Jenkins Email-ext plugin - tokens

Hi I'm using Jenkins Email-ext plugin. Where can I find a list of all the things I can refer to in the html content of the email? For instance: I recently found out that you can put parameters values inside the mail…
orshachar
  • 4,837
  • 14
  • 45
  • 68
18
votes
5 answers

How can I write a Jenkins email-ext template to display test results like the standard test report

I have tweaked the standard jelly template to display the current test results in a table, however I really want to be able to display diffs as seen in Jenkins own test results page. For example: JUnit Tests: 0 failures (±0) , 1 skipped…
Jon Freedman
  • 9,469
  • 4
  • 39
  • 58
15
votes
2 answers

Jenkins pipeline emailext emailextrecipients: Can I also add specific, individual email address?

In Jenkins pipeline I'm using email-ext with emailextrecipients as follows: emailext( subject: email_subject, mimetype: 'text/html', to: emailextrecipients([[$class: 'CulpritsRecipientProvider'], [$class:…
Generic Ratzlaugh
  • 717
  • 1
  • 6
  • 13
15
votes
1 answer

How to attach files to Jenkins Pipeline notification

I am trying in a pipeline to attach files to my notification mails. How can I do that? An example would be nice.
eran meiri
  • 1,322
  • 3
  • 12
  • 29
13
votes
4 answers

Email notification in jenkins based on a script output

I am stuck at a point where I run a perl script through jenkins and I want a conditional email notification to be sent. For eg .. if at the end of script the value of a certain variable is > 1 then send the email notification else dont send Can…
user2946704
  • 314
  • 2
  • 4
  • 14
13
votes
4 answers

Why are Jenkins "extended emails" not including extended information?

We installed email-ext 2.24.1 into Jenkins 1.447. We set "Extended Email Notification" "Default Content" to $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS: Check console output at $BUILD_URL to view the results. Failed tests (regressions…
dfrankow
  • 20,191
  • 41
  • 152
  • 214
12
votes
2 answers

Send parsed console output in email

I am working with two Jenkins plugins, Email-Ext and Log Parser. I have the regular expressions for the Log Parser plugin how I want them, and I would like to include the output of the Log Parser plugin in the email that is sent out to users after…
ubiquibacon
  • 10,451
  • 28
  • 109
  • 179
12
votes
6 answers

How do I attach a build log to an e-mail notification with the Jenkins plugin Email-ext?

Version 2.15 of Jenkins plug-in Email-ext added support for attaching files to build notification e-mails. I would like to have the build log attached to build notification e-mails, but I can't figure out how to do it. The build log appears to be…
Steve HHH
  • 12,947
  • 6
  • 68
  • 71
11
votes
1 answer

Where are the instance variables coming from on the email-ext jelly/groovy scripts?

The templates and examples provided by the email-ext plugin on jenkins reference variables such as build, root, it, etc.... Where are these variables coming from and where is the documentation on them? I understand to some extent that it is the…
AgentRegEdit
  • 1,089
  • 2
  • 16
  • 32
9
votes
1 answer

How will I filter out only errors in Jenkins-email-ext, BUILD_LOG_REGEX?

Currently I m using BUILD_LOG_REGEX in Jenkins Editable email information to get a log of the errors via email. But I get a lot of junk and I want to filter out the errors and I want the log of errors filtered to perfection. Any help?
user1048613
  • 133
  • 1
  • 1
  • 6
1
2 3
14 15