You could either for example use a system groovy script to do that (possible starting point: https://wiki.jenkins-ci.org/display/JENKINS/Display+mail+notifications+recipients) or use Job DSL plugin to version your jobs and simply handle those as variables.
Cheers 2016-07-08 9:52 GMT+02:00 Thethorongil <[email protected]>: > I have 5 environment of Jenkins with more than 100 build jobs in each of > them . I want to change all the email in project recipient list in post > build action . I don't want to do them manually , how can i automate this > to replace all the previous users with my current list of users? > Is this can be done via using API? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/ea0b1896-0116-4c9b-9a60-fde79188a60e%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/ea0b1896-0116-4c9b-9a60-fde79188a60e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4kwVQBH4zgGgEwSN9h1_cRwFvphzZnO0FZNx2%2BjzX7GQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
