Can Jenkins send a daily/weekly... email report about multiple jobs statuses? Basically a daily email containing:
There is no explicit plugin for that, but you can create a job and pull stats from other plugins like
https://wiki.jenkins-ci.org/display/JENKINS/Global+Build+Stats+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/build-metrics-plugin
Related
When someone creates a Test job, we should send email only to him, not for all. How can I get a job owner name?
We have teams and when we make a job, the results of it we send to them. But if the name of the job consists "TestJob" we should send only to the creator.
Check out the Build User Vars Plugin
It will give you the executing users name and email address.
Can we add(restrict) emailids who can only send emails to trigger jenkins job using jenkins Poll Mailbox Trigger plugin.
As of now any body can send email who knows the subject and job gets triggered.
you can use job restriction plugin to restrict the jobs that who can trigger.
please see for yourself
Job restriction plugin
We have a Jenkins setup in which jobs are pipelines that call the email-ext plugin to notify users.
After the jobs have been setup, all users have changed emails, going from user#company1.com to user#company2.com.
Jenkins still sends emails to the former adresses.
I can't find a way to update the email adresses. Is there a way to do this ?
Users are authenticated through the Active Directory plugin.
You just have to update to address while sending. Check this on how to do it. Since you might need to update the config on multiple jobs you might need to write a script to achieve that. This thread explains it
I have a promotion Job A which on successful build triggers email to certain recipients with Jenkins console link and build#. When the user clicks on the link from the email, he will login through his user id and clicks on approve, upon which Job B in the pipeline triggers. Now I want to achieve this for multiple approvers, meaning if Job A sent email to 3 users, Job B should not be triggered until all approvers approve. Seems like their is no option in promoted build plugin for the same. Any ideas, suggestions would be helpful.
May be this plugin can help you with the approvals.
Build Pipeline
This plugin provides a Build Pipeline View of upstream and downstream connected jobs that typically form a build pipeline. In addition, it offers the ability to define manual triggers for jobs that require intervention prior to execution, e.g. an approval process outside of Jenkins
I am using Jenkins email-ext plugin to send email messages. I would like to send 2 email messages - one with 1 attachment that is sent to 1 person and a second email with another attachment sent to another person.
Is that possible using this plugin? From what I have found in the documentation it seems that only one email can be sent.
Thanks in advance.
You could modify your process to use three Jenkins jobs; one for the build, and two for emailing.
Use the Jenkins Parameterized Trigger Plugin to have the build job start the email jobs when it's done. You can either pass in the location to the zip files or some other parameter to know what zip file to use in the email jobs. In "Projects to build" you put the name of your email job. You will add two triggers; one for each email job, passing in unique parameters to each.
If you setup multiple triggers, multiple emails will be sent out. You can have multiple triggers of the same type as well, so if you want to send out two emails for failure, just add the failure trigger twice and setup different recipient lists. Each trigger can generate a separate email.