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

Jenkins pipeline - emailextrecipients is empty

Please note that I'm a beginner working with Jenkins, so I might have missed something obvious. I'm trying to use the Email-ext plugin in my Jenkins pipeline setup, but I do not seem to be able to retrieve any recipients. Running the following code…
David Gustavsson
  • 597
  • 4
  • 25
9
votes
3 answers

Sending email-ext messages to multiple recipients with friendly names

The Problem I am using Jenkins with the email-ext plugin to send HTML formatted emails to several recipient groups (distribution lists). When configuring the list of recipients I have used the following formats: "Development" ,…
Chris Giddings
  • 697
  • 2
  • 7
  • 20
9
votes
1 answer

Email-ext and Workflow/Pipeline - some tokens not being expanded?

I'm trying to use the email-ext plugin in a Jenkins pipeline job, but most of the tokens I take for granted when using email-ext in a freestyle job aren't being expanded? e.g. node { emailext body: '${DEFAULT_CONTENT}', mimeType: 'text/html',…
Phil McArdle
  • 113
  • 2
  • 6
9
votes
3 answers

How to include content of the html file to template of the jenkins email-ext?

I am using Jenkins and email-ext to send build notifications. Build produces small custom report stored as simple HTML in out directory. Right now I can easy attach this report to the email, but what I want is to have this report rendered to the…
Mike Chaliy
  • 25,801
  • 18
  • 67
  • 105
8
votes
1 answer

recipientProviders in jenkins pipeline are always empty

after finishing a job I want to send email notification. If the job is triggered manually at least RequesterRecipientProvider if filled with the user who triggered the build. I triggered from gitlab push webhook there is no email address configured…
Sven Keller
  • 491
  • 1
  • 5
  • 11
8
votes
3 answers

Jenkins Email-ext variables

I know there is $BUILD_STATUS and &BUILD_URL variables in Email-ext plugin. But I cant find anywhere what are all variables available to me... Where can I find them all, like duration time, date etc.?
Dim
  • 4,527
  • 15
  • 80
  • 139
8
votes
0 answers

How can one use ansicolor with email-ext in Jenkins via JELLY_SCRIPT?

I have a Jenkins server with using the plugins ansicolor and email-ext. Jenkins runs scripts with ANSI escaped text which is properly being converted to color-coded HTML on the console output of the Jenkins web GUI. Email-ext is being used to send…
hamx0r
  • 4,081
  • 1
  • 33
  • 46
7
votes
1 answer

how can jenkins downstream job send email notification to upstream git committers via email-ext

this question is about how to send emails to git committers who broke integration tests in a downstream job, in jenkins, and see the list of changes in the downstream job. i haven't tried everything i wrote here, so i could be wrong, these are…
6
votes
1 answer

Creating calendar entry in Jenkins using pre email script

I am currently using Jenkins version 1.617 with the latest Editable Email notification plugin. What we are trying to do is take the changes from the build and put them into a meeting notice (Calendar Entry). We are currently stuck using lotus notes…
sean290
  • 71
  • 2
6
votes
4 answers

How can a pre-send script retrieve parameters of a parameterized Jenkins job?

I would like to cancel email sending based on the value of a boolean parameter of a parameterized job. The parameter is named "skip.email". I tried to write a pre-send script with following content but it doesn't work : def env =…
Kraal
  • 2,779
  • 1
  • 19
  • 36
6
votes
3 answers

Jenkins pass build parameters to email-ext template

How can I pass the build parameters to the email-ext jelly template? Before making some builds I would like to put a different custom message/some announcement/non-code changes, decisions etc. I'm thinking of putting this as a build parameter so…
Rnet
  • 4,796
  • 9
  • 47
  • 83
6
votes
1 answer

Jenkins Email-ext Pre-send Script

I want to edit email body in pre-send script in Email-ext Jenkins plugin. What language should I use to write code? Bash script or other? Can you add some piece of code? Thanks.
akozin
  • 529
  • 1
  • 7
  • 18
5
votes
1 answer

Jenkins shared library dependency not found

I want to create a first shared library to factorize my code in jenkins pipelines. For example, I use two notify methods for all my pipelines and I would like to have them in one location. So I searched how to create a shared library, and I have…
Franck Cussac
  • 310
  • 1
  • 3
  • 14
5
votes
1 answer

Send notification e-mail to upstream committer in Jenkins pipeline

Since Jenkins builds all of our projects automatically after we push to GitHub, we would like Jenkins to send out e-mail notifications if the build was successful or not at the end of the build pipline. I created a shared library with the following…
5
votes
2 answers

Email Extension Plugin - can't get BUILD_LOG_EXCERPT to work

No matter what I put in BUILD_LOG_EXCERPT, all I get is an email with an empty body, thus could use some assistance. I have a java program that writes to console. Snippet of Jenkins console output looks like this: ... [INFO] Scanning for…
Greg
  • 3,861
  • 3
  • 23
  • 58
1
2
3
14 15