Vlad Melnyk commented on New Feature JENKINS-9364
<p>This 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.git&a=commit&h=${ENV, var="commit"}">${ENV, var="commit"}</a>: <b>${ENV,var="commit_message"}</b></p>
<ul>
<li>Author: ${ENV, var="author_name"}</li>
<li>Email: ${ENV, var="author_email"}</li>
</ul>

<h3>Failed Tests</h3>
<p>You can check complete test results <a href="" class="code-quote">"${BUILD_URL}testReport">here</a>
<pre>${FAILED_TESTS, showStack="false"}</pre>

<h3>Build Log</h3>
<p>You 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

Reply via email to