Is there any Plugin for Jenkins which helps to send notification emails to the one who introduced "FindBug Warnings" without failing the build?
Related
Background
I have a Jenkins job that does the resigning of android and ios apps based on the files uploaded to the Nexus repository.
I have 3 app versions for each android and ios.
Using nexus repo level webhook triggering concept + Jenkins generic Webhooks concept, we have achieved automated triggering of the builds when an app file is pushed to the nexus repository.
Problem
When all the 3 files are pushed in one go for any of the android or ios apps, can see only 2 Jenkins jobs webhook triggers only. one hook trigger is missing. Currently, we are seeing this issue very consistently.
The only observation that I have identified is, that whenever 3 files are pushed in one go, In the Jenkins job you see the webhook entry. see below screenshot of Jenkins job
I tried looking at multiple places but could not find a solution.
Any help here is appreciated...
Is there any possibility that we can count the number of webhooks received by the Jenkins job via code which we can see in the screenshot attached?
I have found similar issue reports in github.com: #64 #116 #126 #162 #171.
After going through all these solutions, The solution which worked for me is:
Uncheck the option "Disable Concurrent Builds" in Jenkins Job Configuration
Parameterize the job
Check options "Override Quiet Period" in Jenkins Job Configuration, under generic webhook configuration.
you can pass the quiet period from the trigger point as mentioned in the above image.
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 change that or reset the configuration of plugin ?
I've deleted jenkins cache too.
Worst case, shutdown Jenkins, locate the config.xml inside Jenkins directory structure, and change the value there, then restart Jenkins
This is JENKINS-63846, a regression introduced in email-ext 2.71. I will release a fix for this bug soon.
For my Jenkins job I would like to have Jenkins send e-mails under two conditions:
The build was fine before, but now it fails.
The build failed before, but now it is fine.
I do not want it to send e-mails for any additional failing builds between (1) and (2).
I would have expected that having the setting "Send e-mail for every unstable build" unchecked would prevent just that, but I receive e-mail for every single failed build.
How can I achieve my desired behavior? Is this a bug in Jenkins (2.121.2) or the Mailer plugin (1.21)?
There is a better plugin for sending emails on certain conditions on Jenkins plugin site: https://wiki.jenkins.io/display/JENKINS/Email-ext+plugin
Try finding Editable email in post-build actions or install it via Jenkins manage plugins options.
Below is a screenshot which is part of the Editable Email notification post-build task:
We recently rebuilt our Jenkins server and we are using Jenkins 2.3.5/JDK8/ubuntu 14.04/bitbucket cloud/hipchat cloud.
After we got the newly built Jenkins server running, everything worked except for the build result notification.
We used to get the bitbucket account that we used with Jenkins to comment on the build result, so we can receive it in the hipchat room, even without using hipchat notification plugin. Now, we have tried the emailext plugin, Bitbucket Build Status Notifier Plugin, but none of them worked. It seems that the plugin is all out of date in terms of configurations.
For emailext, it complains "An attempt to send an e-mail to empty list of recipients, ignored." But we put a number of email in the "Default Recipients". And all the SMTP settings are correct since we can receive testing message.
For Bitbucket Build Status Notifier Plugin, I followed here, but I couldn't find the "Bitbucket notify build status" in the job configure.
Any suggestions would be appreciated.
Use Extended Email notification plugin, set SMTP server in Jenkins global configuration
Can we send mail only the failure reason from jenkins, when jenkins build is getting fail. I am using Email-ext plug-in , and using that plug-in i can able send only HTML report through Jenkins .
You are using the right plugin Email-ext plug-in you need to configure the global level settings for this plugin in Jenkins(setting up SMTP). Once you are done with is setup,Go to the job level settings in Jenkins and select the event as (send only on failure)
follow : https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin