Thanks Alex.

My job's config.xml part related to the mail ext plugin:

    <hudson.plugins.emailext.ExtendedEmailPublisher>
      <recipientList>[email protected]</recipientList>
      <configuredTriggers>
        <hudson.plugins.emailext.plugins.trigger.FailureTrigger>
          <email>
            <recipientList></recipientList>
            <subject>$PROJECT_DEFAULT_SUBJECT</subject>
            <body>$PROJECT_DEFAULT_CONTENT</body>
            <sendToDevelopers>false</sendToDevelopers>
            <sendToRequester>false</sendToRequester>
            <includeCulprits>false</includeCulprits>
            <sendToRecipientList>true</sendToRecipientList>
            <attachmentsPattern></attachmentsPattern>
            <attachBuildLog>false</attachBuildLog>
            <compressBuildLog>false</compressBuildLog>
            <replyTo></replyTo>
          </email>
        </hudson.plugins.emailext.plugins.trigger.FailureTrigger>
        <hudson.plugins.emailext.plugins.trigger.UnstableTrigger>
          <email>
            <recipientList></recipientList>
            <subject>$PROJECT_DEFAULT_SUBJECT</subject>
            <body>$PROJECT_DEFAULT_CONTENT</body>
            <sendToDevelopers>false</sendToDevelopers>
            <sendToRequester>false</sendToRequester>
            <includeCulprits>false</includeCulprits>
            <sendToRecipientList>true</sendToRecipientList>
            <attachmentsPattern></attachmentsPattern>
            <attachBuildLog>false</attachBuildLog>
            <compressBuildLog>false</compressBuildLog>
            <replyTo></replyTo>
          </email>
        </hudson.plugins.emailext.plugins.trigger.UnstableTrigger>
      </configuredTriggers>
      <defaultSubject>$DEFAULT_SUBJECT</defaultSubject>
      <defaultContent>$DEFAULT_CONTENT</defaultContent>
      <presendScript>
import hudson.model.*

build.actions.each { action -&gt;
  if (action instanceof ParametersAction) {
    if (action.getParameter(&quot;noEmail&quot;)) {
      cancel = true
    }
  }
}                                         
    </presendScript>
      <attachBuildLog>false</attachBuildLog>
      <compressBuildLog>false</compressBuildLog>
    </hudson.plugins.emailext.ExtendedEmailPublisher>

ExtendedEmailPublisher.xml:

<?xml version='1.0' encoding='UTF-8'?>
<hudson.plugins.emailext.ExtendedEmailPublisherDescriptor plugin="[email protected]">
  <hudsonUrl>http://ci.xwiki.org/</hudsonUrl>
  <adminAddress>address not configured yet &lt;nobody&gt;</adminAddress>
  <useSsl>false</useSsl>
  <defaultContentType>text/plain</defaultContentType>
  <defaultSubject>$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!</defaultSubject>
  <defaultBody>Check console output at $BUILD_URL to view the results.&#xd;
&#xd;
Changes since the previous successful build:&#xd;
&#xd;
${CHANGES_SINCE_LAST_SUCCESS, changesFormat=&quot;[%a] %d %m (rev %r)\n&quot;}&#xd;
&#xd;
Failed tests:&#xd;
&#xd;
${FAILED_TESTS}&#xd;
&#xd;
Last build logs:&#xd;
&#xd;
${BUILD_LOG, regex = &quot;.*Finished at:.*&quot;, linesBefore = 100, linesAfter = 100}</defaultBody>
  <defaultPresendScript></defaultPresendScript>
  <maxAttachmentSize>-1</maxAttachmentSize>
  <recipientList></recipientList>
  <defaultReplyTo></defaultReplyTo>
  <excludedCommitters></excludedCommitters>
  <overrideGlobalSettings>false</overrideGlobalSettings>
  <precedenceBulk>false</precedenceBulk>
  <debugMode>false</debugMode>
  <enableSecurity>false</enableSecurity>
</hudson.plugins.emailext.ExtendedEmailPublisherDescriptor>

Thanks!

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" 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.
 
 

Reply via email to