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
5
votes
1 answer

Get Multiple line commit message in jenkins email notification

I need to modify the extended email part for email notification in jenkins. This is what I have right now: This just shows first line of commit message in the email. I would like to grab multiple lines from commit message. I found this:…
sharp
  • 633
  • 3
  • 12
  • 21
5
votes
3 answers

Jenkins : Sending success email only once a day (though the job is running @hourly)

I have a jenkins job configured to run hourly. I want the success build mail to be sent as email only once a day. Email-Ext gives me the option to send emails for all success , failures etc. But what i wanted is the ability to send success email…
Rajesh
  • 773
  • 1
  • 9
  • 11
4
votes
0 answers

Jenkinsfile: Send mail to all users listed in "People"

I would like to send an e-mail notification to all users listed in the People tab in the job view: The post Use Jenkins 'Mailer' inside pipeline workflow shows how to send e-mail notifications within a Jenkinsfile: emailext(body:…
RoBeaToZ
  • 1,113
  • 10
  • 18
4
votes
2 answers

Jenkins Email-ext Jelly Scripts (High Level Overview)

My project has just integrated Jenkins as its CI server. We would love to use the Email-ext plugin to provide a customized email that gives our developers a reasonable overview of various metrics once a build is complete. The example screenshot…
S73417H
  • 2,661
  • 3
  • 23
  • 37
4
votes
2 answers

Using Jenkins email-ext plugin with pipeline

I am running from my pipeline a snippet to send html mail from HTML file. it looks like that: emailext(to: "${BUILD_USER_EMAIL}", mimeType: 'text/html', subject: "dummy subject", body: readFile 'pipeline/mail/summary.html'); My question: How can I…
4
votes
2 answers

How can I change the FROM email address in Jenkins email-ext plugin on a per-trigger basis?

Let me start with what I know. I know you can change the SysAdmin email address globally in the Jenkins Configuration page and that is what the default FROM address is in the email-ext plugin. I also know you can change the FROM address on a per…
Russell Winkler
  • 277
  • 1
  • 3
  • 12
4
votes
3 answers

How to invoke groovy templates in the Jenkins email-ext plugin

I want to use the Groovy scripting feature in the email-ext plugin for Jenkins, but I'm new to this and there seems to be a lot of assumed knowledge. Like how one goes about invoking one of these templates in the first place. The answer to this is…
Sparky
  • 2,694
  • 3
  • 21
  • 31
4
votes
2 answers

Escape Dollar sign ($) in Jenkins emails

In the content field of "Editable Email Notification" (Email-ext plugin in Jenkins) I would like to escape the $ sign so I can email "$WORD" which is an environment variable of the job (defined using Build Environment->Properties Content) without it…
yair
  • 659
  • 2
  • 8
  • 26
4
votes
1 answer

new location of email-ext templates under Jenkins home

I am can use the default html template from email-ext plugin, but I cannot locate the template file under the plugin directory. Where can I edit this default html.jelly template? In earlier versions of Jenkins these used to be located under the…
harish
  • 1,836
  • 3
  • 21
  • 26
4
votes
2 answers

How to place Email-Ext groovy script on the jenkins file system

I need to dynamically modify the notification e-mail recipients based on the build, so I'm using a groovy script. I want this script to be available to all jobs, so I want it to reside on the Jenkins file system and not within each project. It can…
David Rabinowitz
  • 29,904
  • 14
  • 93
  • 125
4
votes
0 answers

Jenkins Email-ext plugin not sending notification when new branch fails for first time

Steps to reproduce my problem: Using GIT for SCM and Jenkins is set up to trigger build on SCM change Master branch is building fine and all tests are passing Create new branch from master Break something so build fails and push to the new…
4
votes
2 answers

Jenkins Email-ext plugin default Jelly script shows all unit tests, not just failed ones

I am using the Email-ext plugin on Jenkins, and the default Jelly script ${JELLY_SCRIPT,template="html"}. The template apparently outputs all unit tests in the email, not just the ones that have failed and made the build unstable. This is in itself…
user1340582
  • 19,151
  • 35
  • 115
  • 171
4
votes
1 answer

Jenkins email-ext trigger e-mail for culprits not working as expected

I'm trying to send e-mail to culprits when the build fails. If I start the build manually the e-mail is sent, but If I start the build through SCM polling e-mail is not send and the console output for the build shows the message: An attempt to send…
Angelo
  • 905
  • 1
  • 17
  • 35
4
votes
3 answers

Ant absolute path to single file in fileset

I'm using Jenkins with Email-Ext plugin to automate PHP Unit Testing. If the tests failed I want to send a notification email to myself including the zipped test reports. The Email-Ext plugin requires an Ant Fileset definition in the attachment…
papaiatis
  • 4,231
  • 4
  • 26
  • 38
4
votes
2 answers

Quickly testing Jelly templates in email-ext of Jenkins

The Email-ext of Jenkins allows you to write a Jelly email template. How do you write and test one without triggering a build every time? Basically, I'm looking for a 1 second iteration where I can modify a Jelly script, hit refresh on a browser,…
Josh Unger
  • 6,717
  • 6
  • 33
  • 55
1 2
3
14 15