[ https://issues.jenkins-ci.org/browse/JENKINS-5131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Slide-O-Mix resolved JENKINS-5131. ---------------------------------- Resolution: Fixed You can do this with the groovy scripting templates. > Use a regex / replace pair to transform the scm commit message. > --------------------------------------------------------------- > > Key: JENKINS-5131 > URL: https://issues.jenkins-ci.org/browse/JENKINS-5131 > Project: Jenkins > Issue Type: New Feature > Components: email-ext > Affects Versions: current > Reporter: philippebourgau > Fix For: current > > Attachments: regex.diff > > > We are using Hudson, and the email-ext plugin. In order to integrate with our > CRM, we use a special formatting for the comments of the revisions in our > SCM. This makes the comments difficult to read, especially in an email, > that's why we needed a regex/replace mechanism. > Here is a patch to extend it to allow transforming the revision messages sent > by email according to some regex/replace strings. The regex/replace pair are > given as additional parameters to the ${CHANGES} and > ${CHANGES_SINCE_LAST_SUCESS} tokens. > The attached svn patch was made from revision 24135. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira