[JIRA] (JENKINS-9364) Add support for tokens from the token-macro plug-in
Vlad Melnyk commented on JENKINS-9364 Add support for tokens from the token-macro plug-in pThis build of b${ENV, var="application"}/b on b${ENV, var="branch"}/b was triggered by commit a href="" class="code-quote">"http://git.mycompany.com/?p=rep.gita=commith=${ENV, var="commit"}"${ENV, var="commit"}/a: b${ENV,var="commit_message"}/b/p ul liAuthor: ${ENV, var="author_name"}/li liEmail: ${ENV, var="author_email"}/li /ul h3Failed Tests/h3 pYou can check complete test results a href="" class="code-quote">"${BUILD_URL}testReport"here/a pre${FAILED_TESTS, showStack="false"}/pre h3Build Log/h3 pYou can check the complete build log a href="" class="code-quote">"${BUILD_URL}console"here/a/p pre ${BUILD_LOG, maxLines=100, escapeHtml=true} /pre I received the following email: This build of ${ENV, var="application"} on ${ENV, var="branch"} was triggered by commit ${ENV, var="commit"}: ${ENV,var="commit_message"} Author: ${ENV, var="author_name"} Email: ${ENV, var="author_email"} Failed Tests You can check complete test results here 1 tests failed. .. Build Log You can check the complete build log here [...truncated 188 lines...] Before I installed 2.23-SNAPSHOT I also got the following messag ein the logs: Error substituting with token-macro plugin: org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'search' When I removed ${BUILD_LOG, maxLines=100, escapeHtml=true} token, EVN token were expended properly. Looks like "search" token is present in my console logs 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
[JIRA] (JENKINS-9364) Add support for tokens from the token-macro plug-in
SCM/JIRA link daemon commented on JENKINS-9364 Add support for tokens from the token-macro plug-in Code changed in jenkins User: slide Path: src/main/java/hudson/plugins/emailext/plugins/ContentBuilder.java http://jenkins-ci.org/commit/email-ext-plugin/f60ae09896e37eb8954ab1d302282a292c96a96a Log: Fix JENKINS-9364 removed error message for token-macro token replacement failure. 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
[JIRA] (JENKINS-9364) Add support for tokens from the token-macro plug-in
Jim Searle commented on JENKINS-9364 Add support for tokens from the token-macro plug-in Sorry, I was wrong. The email does get sent, but I'd still like to have the option to shut this off since it shows a huge error message in the console. 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
[JIRA] (JENKINS-9364) Add support for tokens from the token-macro plug-in
[ https://issues.jenkins-ci.org/browse/JENKINS-9364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Slide-O-Mix resolved JENKINS-9364. -- Resolution: Fixed Implemented support for token macro plugin. Add support for tokens from the token-macro plug-in --- Key: JENKINS-9364 URL: https://issues.jenkins-ci.org/browse/JENKINS-9364 Project: Jenkins Issue Type: New Feature Components: analysis-core, email-ext, token-macro Reporter: Ulli Hafner Assignee: Slide-O-Mix Priority: Minor Kohsuke released the new plug-in [token-macro|https://wiki.jenkins-ci.org/display/JENKINS/Token+Macro+Plugin] to simplify the publishing of new token for plug-ins. I added some new tokens in the static analysis plug-in suite. It would be nice if the email-ext plug-in would allow to use these tokens (and list these dynamic list of tokens in the help page). -- 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
[JIRA] (JENKINS-9364) Add support for tokens from the token-macro plug-in
[ https://issues.jenkins-ci.org/browse/JENKINS-9364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=163078#comment-163078 ] SCM/JIRA link daemon commented on JENKINS-9364: --- Code changed in jenkins User: Alex Earl Path: pom.xml src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java src/main/java/hudson/plugins/emailext/plugins/ContentBuilder.java src/test/java/hudson/plugins/emailext/plugins/ContentBuilderTest.java http://jenkins-ci.org/commit/email-ext-plugin/8fe217ea21207fe5d4f732f1ecb0113c6c9559ac Log: Fix JENKINS-9364 Implemented support for token macro plugin (optional) Add support for tokens from the token-macro plug-in --- Key: JENKINS-9364 URL: https://issues.jenkins-ci.org/browse/JENKINS-9364 Project: Jenkins Issue Type: New Feature Components: analysis-core, email-ext, token-macro Reporter: Ulli Hafner Assignee: Slide-O-Mix Priority: Minor Kohsuke released the new plug-in [token-macro|https://wiki.jenkins-ci.org/display/JENKINS/Token+Macro+Plugin] to simplify the publishing of new token for plug-ins. I added some new tokens in the static analysis plug-in suite. It would be nice if the email-ext plug-in would allow to use these tokens (and list these dynamic list of tokens in the help page). -- 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