I'm trying to use the Jenkins email-ext plugin (Editable Email Notification) to notify a committer if they've broken a build.
This can apparently be done by adding a post build action to a project, choosing "Editable Email Notification", and then selecting a committers checkbox.... but I can't seem to find this checkbox!
If you look at my screenshot below you can see that there is no option for just committers, and I can only see "Recipient list", "Developers", or "Requestor", and only when I add an extra trigger.
Does anyone have any suggestions as to how to get this option? Am I missing another plugin that is required (I've got the Subversion Plug-in) or something?
Email ext plugin is v2.32 (the latest) and Jenkins is v1.528 (nearly the latest).
There is no option as "committers" we have only the option to chose between developers or to opt for a trigger for success or failure to a requestors or to list of people in the recipients list
Related
I would like to email a table/data from the Jenkins Warning Next Generation Plugin, but wasn't able to figure it out. I've tried looking at the documentation for Warning Plugin and Email Extension, but wasn't sure what to do next. How could I access the variables/data in the email plugin? Is there some variable I can access like this: ${some_variable} or $SOME_VARIABLE in the "Editable Email Notification" panel? If possible, I'd like to get html from the Warnings plugin so I can display it in the email.
We have an old install of Hudson (ver. 1.379, yes that old...) that hasn't been upgraded yet (and I am not quite sure when and if it will be by the people responsible for it).
There seems to be some place, apparently unaccessible from the web interface, were additional recipients for the email-ext plugin were added...
Problem is, those recipients no longer exist and quite a few people (mostly unrelated to the people who use Hudson) get spammed by bounces from those emails...
For email-ext I get this in the plugin page:
version: 2.12 installed: 2.8
I have looked at the configs and I believe email-ext config should be under "Editable Email Notification" of that job...
I see some of the recipients of those emails but not the person who left, it looks like this was configured elsewhere, maybe manually in some sort of config file.
Where can I look for this?
Thank you!
Puzzled!
There is global configuration. Go to Manage Hudson, then Configure System (the wording my be different based on your version, but you should end up here http://<hudsonurl>/configure. You need to have global administrative permissions to access this, but based on what you are saying, it sound like you do not.
Based on your version of the plugin, under Extended E-mail Notification, you will see Default Recipients. Older versions of the plugin did not have that feature.
Also, under the job configuration itself, there are several places to override/add to the list of recipients, the most buried of which is under the Triggers
Click Advanced... button under Editable Email Notification
For each trigger, click Expand link.
Lastly, it is possible that people are included on the emails cause they were Culprits. In Hudson's terms, these are people who committed to SCM since the last successful build. If the build has been failing since then for a long time, they are just there as culprits. The only way to "reset" the culprits is to let the job build successfully
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 an e-mail to empty list of recipients, ignored.
Is that the right way the plugin should work (culprit should be a person, not scm polling)?
Im using:
OS: Ubuntu Server 11.04
Jekins: 1.532.1
Email-ext plugin: 2.37.2
Currently (before the next release 2.38) when you want to send emails to the culprits you also need to check the "Developers" checkbox. Without it, the culprits portion will not be used at all.
This will be different going forward, adding Culprits as a recipient list will do what is expected.
I was wondering if it is possible to change the built-in build statuses that are reported by Jenkins via email (i.e. Still Failing, Failure, etc..)? I was looking into the groovy post build plugin, but I can't seem to get the code to change the build status.
Here is my simple code:
if(manager.logContains(".*xyz.*")) {
manager.buildSuccess()
}
Also, if someone could post where I can learn more about using Jenkins w/groovy to access Jenkins configuration settings, that would be great. I search the web but did not find anything to useful.
Thanks for any help,
Eric
For changing the E-mail messages i would suggest the E-Mail-ext plugin
For changing status, you may like to try the Jenkins Text Finder plugin.
Hi I'm using Jenkins Email-ext plugin.
Where can I find a list of all the things I can refer to in the html content of the email?
For instance: I recently found out that you can put parameters values inside the mail using:
${ENV,var="variable_name"}
But say that I want to get build log or build number or build status (passed fail).
Do you know if there is a document listing all data that is referable in this plugin.
Thanks!!
On job configurations page:
Check 'Editable Email Notification' box -> find 'Content Token Reference' (it's between 'Attachments' and 'Trigger for matrix projects') -> Click on ? to the right side of it.