The tag refers to `email-ext` plugin for Jenkins, which extends email sending options.
Questions tagged [jenkins-email-ext]
108 questions
0
votes
1 answer
How to combine $BUILD_LOG_REGEX with $FILE in jenkins
I am retrieving the relative path to my HTML report from the console output using a build log regular expression on Jenkins.
How do I use the retrieved path in ${FILE,path}?
For example, if my console output has the following content:
STATUS …

Abisushan Abi
- 1
- 1
0
votes
1 answer
Jenkins - Having issues with PostBuild Email notifications
Trying to use the following piece of code to trigger email notifications for a multi-branch pipeline job:
1 def emailNotification() {
2 def to = emailextrecipients([[$class: 'CulpritsRecipientProvider'],
3 …

Cosmin
- 2,354
- 2
- 22
- 39
0
votes
1 answer
How to send an single email for multiples jobs in jenkins
In my jenkins i have 2 different jobs, will be scheduled to call at 15 mins timelap. I am sending an separate emails for both the jobs with status.
I want to send an single email for both the jobs, once both jobs are get executed
Could some suggest…

Harris
- 1
- 1
- 1
0
votes
1 answer
Jenkins Editable email notification default content
Can we configure the jenkins editable email notification default content that calls the groovy script from a particular server instead of jenkins master.
I have my groovy script in my dev server and i have added this server name in the jenkins…

user1706047
- 369
- 3
- 7
- 19
0
votes
1 answer
Groovy script to call Python and batch file
I wish to send email containing build status of all child job.
Therefore, I have used batch and python script to prepare the html file, which I will be importing in Editable Email Notification plugin.
However, in Pre Send script tab, we can only…

Ravi Yadav
- 63
- 3
0
votes
1 answer
Setting Up Email Notifications for Jenkins Stages: Pipeline Script
I am looking to send out an email on failure and/or list of all of the stages and their status. I have wrapped my code in a try{} and am catching any failures. On my Console output it says that the email was sent to the appropriate email but I am…

Lgalan90
- 595
- 2
- 12
- 31
0
votes
3 answers
How to change Email-ext plugin to load script from custom location
I like to commit my Jenkins email script to my working copy and use it with Email-ext.
So I wrote something like :
pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'Building...'
}
…

user3360767
- 868
- 7
- 18
0
votes
1 answer
"ERROR: Domain starts with dot in string" while sending Jenkins email with email extension plugin
I have Email Extension Plugin 2.57.2 installed. Emails were working fine till I updated the plugin to 2.58. After errors I have downgraded it to 2.57.2 but that did not help. I don't know what version I had to begin with. Any ideas? I don't have a .…

Ankur Agarwal
- 23,692
- 41
- 137
- 208
0
votes
1 answer
emailext jenkinsfile attachment readme
Trying to get jenkins to include the readme as an attachment with a pipeline
stage('email Alex!'){
mail(
body: 'your component is released',
attachmentsPattern: '**/*.md',
from: env.DEFAULT_REPLYTO,
…

Alex
- 587
- 11
- 31
0
votes
1 answer
Getting java.net.SocketException: Connection reset Error Message while Setting Email Notifications for Gmail server
I Want to setup Email Notifications in Jenkins Server. Tried with Gmail Server using below Settings.
enter image description here
Here is the Error Message I am getting:-
Failed to send out e-mail
java.net.SocketException: Connection reset
at…

Rodger Nadal
- 309
- 2
- 8
- 21
0
votes
1 answer
email for each build-step that fails in Jenkins
I am new to Jenkins and I would like to find a way to send an email for every build-step failure.
More specifically I have a job that runs scripts (as separate build steps) and I would like to configure Jenkins to send notifications if one of these…

Theo
- 21
- 5
0
votes
2 answers
sporadic issue with jenkins email-ext plugin
I have email notifications set up in a jenkins pipeline job using email-ext (v2.57.2). The emails are sent fine for the first couple of iterations but then after about 4th execution, the following error occurs (and continues happening for all the…

opike
- 7,053
- 14
- 68
- 95
0
votes
0 answers
Jenkins Editable Email Notification plugin is not sending emails to multiple recipients
Email Notification plugin version : 2.57
Jenkins version: 2.50
When I specify multiple recipients for emails I don't get any email. But when I specify only one recipient I get emails. Why so ?
Can someone help me please?

Ankur Agarwal
- 23,692
- 41
- 137
- 208
0
votes
0 answers
Java exception while sending email from Jenkins using editable email extension
Jenkins version: 2.46
Here is my Jenkins configuration
And here is the complete stacktrace that I received
ERROR: Could not send email as a part of the post-build publishers.
javax.mail.MessagingException: Can't send command to SMTP host;
nested…

Ankur Agarwal
- 23,692
- 41
- 137
- 208
0
votes
1 answer
Send Change log details in subject of email
I have configured email in jenkins like this:
I wanted to show following change log history in default content as text. What is the way to do it?

Amna
- 603
- 7
- 30