By jenkins log, do you mean $JENKINS_HOME/jobs/project/builds/#/log file? If this is the file you refer, it does have build errors, but sending mail seems fine.
Sending e-mails to: [email protected] channel stopped Sending e-mails to: [email protected] Email was triggered for: Failure Sending email for trigger: Failure Sending email to: [email protected] Finished: FAILURE If this is not the log you refer, would you please let me know where should be the log file? Thanks much, Jessica On Wednesday, April 24, 2013 3:13:54 PM UTC-5, slide wrote: > > Do you have any errors in jenkins logs? > > > On Wed, Apr 24, 2013 at 12:43 PM, windycity <[email protected]<javascript:> > > wrote: > >> I am looking at this file, actually, I figure >> >> ${JELLY_SCRIPT,template="html"} >> >> is the problem, if I get rid of this, everything seems working, though I >> do not understand why. Somebody else put this in global configuration, >> maybe this format is wrong, maybe it should be ${JELLY_SCRIPT, html}? >> >> >> Following is the content of ExtendedEmailPublisher xml file from the >> root of JENKINS_HOME >> >> Thanks much! >> >> Jessica >> >> <?xml version='1.0' encoding='UTF-8'?> >> <hudson.plugins.emailext.ExtendedEmailPublisherDescriptor >> plugin="[email protected]"> >> <hudsonUrl>http://openjdk2a:8081/jenkins/</hudsonUrl> >> <adminAddress>address not configured yet <nobody></adminAddress> >> <useSsl>false</useSsl> >> <defaultContentType>text/html</defaultContentType> >> <defaultSubject>${MAVEN_PREBUILD_VERSION} $PROJECT_NAME - Build # >> $BUILD_NUMBER - $BUILD_STATUS!</defaultSubject> >> <defaultBody>$PROJECT_NAME ${MAVEN_PREBUILD_VERSION} - Build # >> $BUILD_NUMBER - $BUILD_STATUS:
 >> 
 >> Check console output at $BUILD_URL to view the results.
 >> 
 >> ${JELLY_SCRIPT,template="html"}</defaultBody> >> <maxAttachmentSize>-1</maxAttachmentSize> >> <recipientList>[email protected] <javascript:></recipientList> >> <defaultReplyTo></defaultReplyTo> >> <overrideGlobalSettings>false</overrideGlobalSettings> >> <precedenceBulk>false</precedenceBulk> >> <debugMode>false</debugMode> >> <enableSecurity>false</enableSecurity> >> </hudson.plugins.emailext.ExtendedEmailPublisherDescriptor> >> >> >> >> On Wednesday, April 24, 2013 2:33:08 PM UTC-5, slide wrote: >> >>> My apologies, I need the ExtendedEmailPublisher xml file from the root >>> of JENKINS_HOME. >>> >>> >>> On Wed, Apr 24, 2013 at 10:03 AM, windycity <[email protected]> wrote: >>> >>>> >>>> Here attached are the global and project config files, please let me >>>> know what is wrong. >>>> >>>> Thanks much for all your help! >>>> >>>> Jessica >>>> >>>> >>>> On Wednesday, April 24, 2013 8:59:51 AM UTC-5, slide wrote: >>>> >>>>> pre-build/post build added token >>>>> MIME-Version: 1.0 >>>>> Content-Type: multipart/alternative; >>>>> boundary="----=_Part_**8**9_9798859.1366811681215" >>>>> >>>>> ------=_Part_89_9798859.**136681**1681215 >>>>> Content-Type: text/plain; charset="utf-8" >>>>> Content-Transfer-Encoding: 7bit >>>>> >>>>> They are expanded the same way, so I need more information (like your >>>>> global and project config XML) to try and determine the issue. >>>>> >>>>> Sent from my Windows Phone >>>>> From: windycity >>>>> Sent: 4/24/2013 6:54 >>>>> To: jenkins...@googlegroups.**com >>>>> Subject: jenkins e-mail ext DEFAULT_CONTENT does not expand >>>>> pre-build/post build added token >>>>> I use jenkin's configuration pre-build and post build "Execute Groovy >>>>> System Script"-> command to get a token $MAVE_PREBUIL_VERSION and >>>>> $MAVEN_POSTBUILD_MAVEN, and put this at e-mail ext plugin >>>>> configuration. In >>>>> both global and project session, DEFAULT_SUBJECT can extent these >>>>> Tokens, >>>>> but DEFAULT_CONTENT can not, is this a known issue or I am not using >>>>> it >>>>> right? >>>>> >>>>> $DEFAULT_SUBJECT, ${MAVEN_PREBUILD_VERSION}, >>>>> ${MAVEN_POSTBUILD_VERSION} >>>>> Above expand the token, but following does not >>>>> >>>>> >>>>> $DEFAULT_CONTENT, ${MAVEN_PREBUILD_VERSION} >>>>> >>>>> Thanks in advance, >>>>> >>>>> jessica >>>>> >>>>> -- >>>>> 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 jenkinsci-use...@**googlegroups.**com. >>>>> For more options, visit >>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------=_Part_89_9798859.**136681**1681215 >>>>> Content-Type: text/html; charset="utf-8" >>>>> Content-Transfer-Encoding: quoted-printable >>>>> >>>>> <html><head><meta content=3D"text/html; charset=3Dutf-8" >>>>> http-equiv=3D"Cont= >>>>> ent-Type"></head><body><div><**d**iv style=3D"font-family: >>>>> Calibri,sans-serif; = >>>>> font-size: 11pt;">They are expanded the same way, so I need more >>>>> informatio= >>>>> n (like your global and project config XML) to try and determine the >>>>> issue.= >>>>> <br><br>Sent from my Windows Phone<br></div></div><hr><span >>>>> style=3D"font-f= >>>>> amily: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">From: >>>>> </span= >>>>> ><span style=3D"font-family: Tahoma,sans-serif; font-size: >>>>> 10pt;">windycity= >>>>> </span><br><span style=3D"font-family: Tahoma,sans-serif; font-size: >>>>> 10pt; = >>>>> font-weight: bold;">Sent: </span><span style=3D"font-family: >>>>> Tahoma,sans-se= >>>>> rif; font-size: 10pt;">4/24/2013 6:54</span><br><span >>>>> style=3D"font-family:= >>>>> Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">To: >>>>> </span><span s= >>>>> tyle=3D"font-family: Tahoma,sans-serif; font-size: >>>>> 10pt;">jenkinsci-users@g= >>>>> ooglegroups.com</span><br><**spa**n style=3D"font-family: >>>>> Tahoma,sans-serif; fo= >>>>> nt-size: 10pt; font-weight: bold;">Subject: </span><span >>>>> style=3D"font-fami= >>>>> ly: Tahoma,sans-serif; font-size: 10pt;">jenkins e-mail ext >>>>> DEFAULT_CONTENT= >>>>> does not expand pre-build/post build added >>>>> token</span><br><br></body></**h**t= >>>>> ml>I use jenkin's configuration pre-build and post build "Execute >>>>> Groovy Sy= >>>>> stem Script"-> command to get a token $MAVE_PREBUIL_VERSION and >>>>> $MAVEN_P= >>>>> OSTBUILD_MAVEN, and put this at e-mail ext plugin configuration. In >>>>> both gl= >>>>> obal and project session, DEFAULT_SUBJECT can extent these Tokens, but >>>>> DEFA= >>>>> ULT_CONTENT can not, is this a known issue or I am not using it >>>>> right?<br><= >>>>> br>$DEFAULT_SUBJECT, ${MAVEN_PREBUILD_VERSION}, >>>>> ${MAVEN_POSTBUILD_VERSION} = >>>>> Above expand the token, but following does not<br><br><br>$DEFAULT_** >>>>> CONTEN**T,= >>>>> ${MAVEN_PREBUILD_VERSION}<br>****<br>Thanks in >>>>> advance,<br><br>jessica<br><**br**> >>>>> >>>>> <p></p> >>>>> >>>>> -- <br /> >>>>> You received this message because you are subscribed to the Google >>>>> Groups &= >>>>> quot;Jenkins Users" group.<br /> >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an e= >>>>> mail to jenkinsci-use...@**googlegroups.**com.<br /> >>>>> For more options, visit <a href=3D"https://groups.google.**** >>>>> com/groups/opt_out= <https://groups.google.com/groups/opt_out=> >>>>> ">https://groups.google.com/**gr**oups/opt_out<https://groups.google.com/groups/opt_out></a>.<br >>>>> >>>>> /> >>>>> <br /> >>>>> <br /> >>>>> >>>>> ------=_Part_89_9798859.**136681**1681215-- >>>>> >>>> -- >>>> 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 jenkinsci-use...@**googlegroups.com. >>>> For more options, visit >>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>> . >>>> >>>> >>>> >>> >>> >>> >>> -- >>> Website: http://earl-of-code.**com <http://earl-of-code.com> >>> >> -- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > Website: http://earl-of-code.com > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
