Thanks,
slide
--
slide-o-blog
http://slide-o-blog.blogspot.com/
I didn't see this before I made a release out of email-ext plugin. I
hope I didn't step on your toe.
FWIW, I think getting the releases out is good.
--
Kohsuke Kawaguchi | CloudBees, Inc. | http://cloudbees.com/
Try Nectar, our professional version of Jenkins
There is one minor thing i wanted to mention: due to the removal of
the $PROJECT_DEFAULT_RECIPIENT token, you have to remove that token in
all of your job configurations, otherwise Jenkins tries to send an
email to the recipient "$PROJECT_DEFAULT_RECIPIENT".
Slide already mentioned that in another email.
Manuel
Sorry about the noise on this one.
Just an empty string (because i don't use the trigger specific
recipient list). I used the following Groovy script:
import hudson.model.AbstractProject
import hudson.model.Descriptor
import hudson.plugins.emailext.ExtendedEmailPublisher
import hudson.plugins.emailext.plugins.EmailTrigger;
import hudson.tasks.Publisher
import hudson.util.DescribableList
import jenkins.model.Jenkins
for (AbstractProject item in Jenkins.instance.items) {
DescribableList<Publisher, Descriptor<Publisher>> publist =
item.getPublishersList()
ExtendedEmailPublisher pub = publist?.get(ExtendedEmailPublisher.class)
println(pub)
List<EmailTrigger> triggers = pub?.getConfiguredTriggers()
for (EmailTrigger trigger in triggers) {
trigger.getEmail().setRecipientList("")
}
item.save()
}
Regards,
Manuel