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

ERROR: Error accessing files to attach: Expecting Ant GLOB pattern

I'm getting an error while attaching a file to the mail post Jenkins job. ERROR: Error accessing files to attach: Expecting Ant GLOB pattern, but saw '/Test/reports/test_report.html' See http://ant.apache.org/manual/Types/fileset.html for syntax
Panda
  • 369
  • 1
  • 6
  • 11
3
votes
4 answers

Access variable in email ext template using Jenkins pipeline

I am trying to attach the template file using Jenkins pipeline, emailext. Variable (PROJNAME) is not accessible in the template file and I am receiving exceptions as an email: Exception raised during template rendering: No such property: env for…
3
votes
0 answers

Jenkins emailext not sending mails

I am currently trying to understand why Jenkins is not sending emails. The expected behavior is, that Jenkins will send emails to the whole team if the master branch is broken. If a feature branch breaks a email to the person who broke it, should be…
TruckerCat
  • 1,437
  • 2
  • 16
  • 39
3
votes
3 answers

Embed html report in email body using Email-ext plugin on Jenkins pipeline?

How can I make the email body as the selenium html report. I have followed the methods give in the question Display HTML page inside mail body with Email-ext plugin in Jenkins, but I'm getting error…
akhil krishna
  • 316
  • 1
  • 4
  • 14
3
votes
0 answers

How to send emails from a jenkins multibranch pipeline job

I have a Jenkins Multibranch Pipeline Project and for every change of the buildresult I want to send an email to the developer(s) responsible. I have the following function in my Jenkinsfile: def notifyDevelopers() { if( currentBuild.result ==…
Thomas
  • 2,137
  • 1
  • 17
  • 38
3
votes
2 answers

I'm getting JellyException: Could not parse Jelly script : null

I'm trying to configure some features in Jenkins for our project. In the process of configuring Editable Email Notification, I have created a new jelly script file in $JENKINS_HOME/email-templates folder as shown here and accessing it in Jenkins…
Geetha Lavanya
  • 195
  • 2
  • 9
3
votes
0 answers

jenkins email-ext not sending to developers

This issue seems to be specific to the git pull request build jobs. The Pull Request build job builds the following git repository location origin +refs/pull-requests/*:refs/remotes/origin/pull-requests/* …
3
votes
2 answers

Get build requestor using Groovy script (Jenkins / email-ext)

I want to get the username and/or email address of the build requestor in a post-build script. Sidenote: I want the requestor so I can set the email sender of the post-build email notification dynamically in the email-ext plugin's pre-send…
marius
  • 1,533
  • 3
  • 16
  • 22
3
votes
1 answer

Error accessing files to attach in Jenkins

I am using Jenkins 1.552 configured with email-ext 2.25 plugin. My job should send an email with a file attached after each successful build. For that i am using the email plugin and i add the path of the the file i want to send in the attachment…
HobbitOfShire
  • 2,144
  • 5
  • 24
  • 41
3
votes
3 answers

Append content from file using Email Ext Jenkins plugin

I have been modifying the default groovy template that the Email Ext plugin supplies. Firstly, I had to modify the JUnitTestResult and need to format it accordingly to my need. I found in the it.JUnitTestResult, it is a reference to the…
Exploring
  • 2,493
  • 11
  • 56
  • 97
3
votes
1 answer

Email-Ext - Send email to Git committer only

I am currently trying to set up our Jenkins to send emails when the build succeeded or failed. I want to use email-ext for this job. I want to send emails to the git committers only because I don't want to spam any other recipients. This is why I…
Denis Loh
  • 2,194
  • 2
  • 24
  • 38
3
votes
3 answers

Jenkins email ext jelly script include file contents

Can I display the contents of another file in my jelly script output?
Rnet
  • 4,796
  • 9
  • 47
  • 83
3
votes
1 answer

How to get Jenkins to show skipped tests using email-ext?

I am using email-ext plugin within Jenkins to display passed failed, and the email has a nice blue for passed methods and red for failed. What it is not including is the Ignored tests within a class. Shouldn't the annotations for Junit's @Ignore…
Laser Hawk
  • 1,988
  • 2
  • 23
  • 29
2
votes
1 answer

How can I write a Hudson/Jenkins email-ext template in JavaScript?

I want to write a custom email template for Jenkins using the email-ext plugin. The documentation mentions I can use JavaScript for this, but has no further JavaScript-specific documentation. I would much prefer to use JavaScript instead of Groovy;…
Tikhon Jelvis
  • 67,485
  • 18
  • 177
  • 214
2
votes
1 answer

Jenkins emailext plugin with default subject and body in pipeline script

I am using Jenkins with the email extension plugin and declarative pipelines. In https://jenkinsserver/configure i configured the "Default Subject" and "Default Content" which i want to use in a pipeline script. When i add the following code to a…
David Koenig
  • 141
  • 2
  • 10