Skip to content
Permalink
Browse files

Fix JENKINS-19583

Don't put PROJECT_DEFAULT_RECIPIENTS into the field by default
  • Loading branch information
slide committed Sep 13, 2013
1 parent 213c09b commit 23e5ab8ce4d44291deb431d977ec3e22e05c42d4
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/main/resources/hudson/plugins/emailext/plugins/EmailTrigger/config.groovy
@@ -13,11 +13,10 @@ f.entry(title: _("Send To"), help:"help") {
f.checkbox(name: "sendToDevs", title: _("Developers"), checked: instance != null ? instance.email.sendToDevelopers : descriptor.defaultSendToDevs)
f.checkbox(name: "sendToRequestor", title: _("Requestor"), checked: instance != null ? instance.email.sendToRequester : descriptor.defaultSendToRequester)
f.checkbox(name: "sendToCulprits", title: _("Culprits"), checked: instance != null ? instance.email.sendToCulprits : descriptor.defaultSendToCulprits)
/*f.checkbox(name: "send_to_culprits", title: _("Culprits"), checked: instance != null ? instance.email.includeCulprits : false) */
f.advanced() {
st.include(it: instance, class: descriptor.clazz, page: "local-config", optional: true)
f.entry(title: _("Recipient List"), help: "/plugin/email-ext/help/projectConfig/mailType/recipientList.html") {
f.textbox(name: "recipientList", value: instance != null ? instance.email.recipientList : "\$PROJECT_DEFAULT_RECIPIENTS")
f.textbox(name: "recipientList", value: instance != null ? instance.email.recipientList : "")
}
f.entry(title: _("Reply-To List"), help: "/plugin/email-ext/help/projectConfig/mailType/replyToList.html") {
f.textbox(name: "replyTo", value: instance != null ? instance.email.replyTo : "\$PROJECT_DEFAULT_REPLYTO")

0 comments on commit 23e5ab8

Please sign in to comment.
You can’t perform that action at this time.