Questions tagged [jenkins-email-ext]

The tag refers to `email-ext` plugin for Jenkins, which extends email sending options.

108 questions
0
votes
2 answers

Email Extension Plugin in Jenkins is not resolving global variables and groovy Template for Outlook emails

Jenkins version - 2.275 Email extension plugin version - 2.81 Examples of global variables and templates not getting resolved are - ${BUILD_NUMBER} ${BUILD_STATUS} groovy-html.template Note - The problem is only seen with Outlook emails, for Gmail…
JKC
  • 47
  • 8
0
votes
2 answers

Use Environment variable inside HTML body in Jenkins Pipeline

I have a Jenkins Pipeline which sends email to the recipients using Jenkins email-ext plugin. In the emailext body, I have added HTML code to send the mail in a specific format. However, when I try to use the environment variable, it does not return…
0
votes
1 answer

Creating copy of Robot Framework output.xml in Jenkins pipeline

I am in the process of creating a Groovy email template for a Jenkins pipeline running Robot Framework tests. I intend to use Groovy's XMLSlurper to parse the output.xml created by Jenkins to extract the information I need. However, the template…
0
votes
2 answers

How to reset Jenkins email extension plugin sender configuration?

I am using email-ext plugin to send build status mails to the recipients . Currently , it shows sender as my personal email even though I've changed system admin email address and restarted jenkins multiple times. Is it there any custom method to…
0
votes
1 answer

Extracting a line from a .txt file and pasting it in Jenkin email-ext Default-Content Field

So I have a Multijob Project in Jenkins and I artifact a txt file after the build has been completed, so nothing special really.. I am using the email-ext plugin to send E-mails with the links to the artifacted files. Now I want to extract the…
0
votes
2 answers

How to pass custom env values to email body in post stage in jenkins pipeline?

Below is my script for jenkins pipeline where i am changing one of the env value in one of the stages and using those custom env in post email body. pipeline { agent none environment { ENV_STAGE = 'dev' …
justin xa
  • 105
  • 1
  • 11
0
votes
1 answer

Email no longer sent after jenkins job execution

On a Ubuntu, I have a Jenkins service setup with Email-EXT plugin, where I have setup jobs executed regularly, and emails are being sent after the job execution. But just recently, I no longer receive any emails after the job execution. Details:…
user3595231
  • 711
  • 12
  • 29
0
votes
2 answers

How To Send an email from Jenkins to the email of the developer who made the changes on the repo(i.e committing or pushing)?

So my goal is to have Jenkins send an email to developer who was involved with any code changes in the repo in Mercurial. I have set up my hooks on Mercurial and now whenever I do any sort of changes on the repo a build executes on Jenkins which…
0
votes
0 answers

can't find jenkins.xml anywere on the system

I have installed jenkins using java-jar jenkins.war on windows 10. I am trying to setup SMTP for outlook which suggest to enable TLS using jenkins.xml as per below suggestion For Jenkins on Windows, open jenkins.xml and modify the arguments…
Vidushi
  • 15
  • 1
  • 5
0
votes
2 answers

Can we change font color of the data in td tag of html using only CSS

I am creating a custom report that is inserted inside a body of an email content in the form of html. My report generates a table with 3 rows and multiple columns. In 1 of the columns the value is determined dynamically via an environment variable…
Xhalini
  • 25
  • 8
0
votes
1 answer

Regex error with Jenkins Pipeline emailext

I am building Jenkins pipeline scripts and sending email on build status. stage('Sending email') { echo "${FINAL_EAR}" emailext body: '''$DEFAULT_CONTENT The cause of the build: ${BUILD_CAUSE} current build…
changeme
  • 640
  • 2
  • 12
  • 36
0
votes
1 answer

Jenkins: Send XML API content over email

Jenkins provide XML apis to view build related status: E.g.: URL/job/JOBNAME/lastCompletedBuild/testReport/api/xml will show test results for latest build. Is there a way to send the content of this page/api via email? If NOT , is there a way to…
tryingToLearn
  • 10,691
  • 12
  • 80
  • 114
0
votes
1 answer

Jenkins not sending email if changeset not empty and status is not failure

I have something really weird happening. I use jenkins scripted pipeline to send an email with email ext plugin and template groovy-html.template. The email is properly sent if the changeset is empty or if the build result is failure, but if the…
Maxime Lem
  • 343
  • 4
  • 15
0
votes
1 answer

Where is the default email-ext groovy template stored?

Where is the default email-ext groovy template placed under jenkins. I did do a search through stackoverflow and the most possible answer i get is to refer Jenkins\plugins\email-ext\WEB-INF\lib. However I just see the email ext jar files in this…
user11881
  • 65
  • 2
  • 12
0
votes
1 answer

Jenkins MultiJob - Email inner jobs status

I have a MultiJob Project with 3 inner jobs which needs to be executed in the following sequence Master MultiJob Project (Job) |----- Phase 1 |------> JOB A |----- Phase 2 |------> JOB B |----- Phase 2 …
Pavan
  • 29
  • 7