|
||||||||
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I am seeing the same after upgrading to the current version 2.30.2 of email-ext plugin.
This is my standard email body for our continuous unit tests, which is sent out unprocessed when I upgrade to 2.30.2:
$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:
Check console output at $BUILD_URL to view the results.
**********************************************************
Failed Tests:
**********************************************************
${BUILD_LOG_REGEX, regex="\\b(Failed)\\b", showTruncatedLines=false}
${BUILD_LOG_REGEX, regex="\\b(Error)\\b", showTruncatedLines=false}
${BUILD_LOG_REGEX, regex="\\b(Aborted)\\b", showTruncatedLines=false}
**********************************************************
Changes since last success:
**********************************************************
${CHANGES_SINCE_LAST_SUCCESS, showPaths=true, pathformat="%p"}
In the build log I can see the following:
12:30:06 Error evaluating token: Undefined parameter pathformat in token CHANGES_SINCE_LAST_SUCCESS
The token makro plugin is of version 1.7. A "funny" thing I can observe is when configuring a job and clicking on the token macro reference, the help text explodes because of millions of doubled entries. As this behaviour starts with ${BUILD_ID} maybe there is something wrong there?
All arguments are optional. Arguments may be given for each token in the form name="value" for strings and in the form name=value for booleans and numbers. In string arguments, escape '"', '\', and line terminators ('\n' or '\r\n') with a '\', e.g. arg1="\"quoted\""; arg2="c:
path"; and arg3="one\ntwo". The {'s and }'s may be omitted if there are no arguments.
Examples: $TOKEN, ${TOKEN}, ${TOKEN, count=100}, ${ENV, var="PATH"}
Available email-ext Tokens
${DEFAULT_SUBJECT}
This is the default email subject that is configured in Jenkins's system configuration page.
${DEFAULT_CONTENT}
This is the default email content that is configured in Jenkins's system configuration page.
${DEFAULT_PRESEND_SCRIPT}
This is the default pre-send script content that is configured in Jenkins's system configuration. This is the only token supported in the pre-send script entry field.
${PROJECT_DEFAULT_SUBJECT}
This is the default email subject for this project. The result of using this token in the advanced configuration is what is in the Default Subject field above. WARNING: Do not use this token in the Default Subject or Content fields. Doing this has an undefined result.
${PROJECT_DEFAULT_CONTENT}
This is the default email content for this project. The result of using this token in the advanced configuration is what is in the Default Content field above. WARNING: Do not use this token in the Default Subject or Content fields. Doing this has an undefined result.
Email-ext Tokens
${FILE,path="PATH"}
Includes the content of a specified file (path) relative to the workspace root.
${BUILD_NUMBER}
Displays the number of the current build.
${JOB_DESCRIPTION}
Displays the description of the job.
${SVN_REVISION}
Displays the subversion revision number. Also supports the SVN_REVISION_n version the Subversion plugin exports.
${CAUSE}
Displays the cause of the build.
${CHANGES}
Displays the changes since the last build.
showDependencies
If true, changes to projects this build depends on are shown. Defaults to false
showPaths
If true, the paths, modifued by a commit are shown. Defaults to false
format
For each commit listed, a string containing %X, where %x is one of:
%a
author
%d
date
%m
message
%p
path
%r
revision
Not all revision systems support %d and %r. If specified showPaths argument is ignored. Defaults to "[%a] %m
n"
pathFormat
A string containing %p to indicate how to print paths. Defaults to "\\t%p
n"
${BUILD_ID}
Displays the build ID of the current build.
${PROJECT_NAME}
Displays the project's full name. (See AbstractProject.getFullDisplayName)
${PROJECT_DISPLAY_NAME}
Displays the project's display name. (See AbstractProject.getDisplayName)
${SCRIPT}
Custom message content generated from a groovy script.Custom scripts should be placed in "$JENKINS_HOME/email-templates". When using a custom script the plugin will look in the resources forthe email-ext plugin first, and then in the $JENKINS_HOME/email-templatesdirectory. No other directories will be searched.
script
When this is used, only the last value in the script will be used in the expansion (script and template can not be used together).
template
The template in Groovy's SimpleTemplateEngine format.
${JENKINS_URL}
Displays the URL to the Jenkins server. (You can change this on the system configuration page.)
${BUILD_LOG_MULTILINE_REGEX}
Displays build log segments that match the regular _expression_.
regex
java.util.regex.Pattern
Segments of the build log that match this regular _expression_ are included. See also null. No default. Required parameter
maxMatches
The maximum number of matches to include. If 0, all matches will be included. Defaults to 0.
showTruncatedLines
If true, include ...truncated ### lines... lines. Defaults to true.
substText
If non-null, insert this text into the email rather than the entire segment. Defaults to null.
escapeHtml
If true, escape HTML. Defaults to false.
matchedSegmentHtmlStyle
If non-null, output HTML. Matched lines will become <b style="your-style-value">html escaped matched lines</b>. Defaults to null.
${BUILD_LOG_EXCERPT}
Displays an excerpt from the build log.
start
Regular _expression_ to match the excerpt starting line (matching line is excluded).
end
Regular _expression_ to match the excerpt ending line (matching line is excluded).
See java.util.regex.Pattern
${BUILD_URL}
Displays the URL to the current build.
${CHANGES_SINCE_LAST_SUCCESS}
Displays the changes since the last successful build.
reverse
If true, show most recent builds at the top instead of the bottom. Defaults to false.
format
For each build listed, a string containing %X, where %X is one of
%c
changes
%n
build number
Defaults to Changes for Build #%n\n%c\n
See additional documentation on ${CHANGES} token for showPaths, format and pathFormat parameters
${BUILD_LOG}
Displays the end of the build log.
maxLines
Display at most this many lines of the log. Defaults to 250.
escapeHtml
If true, HTML is escape. Defaults to false.
${PROJECT_URL}
Displays a URL to the project's page.
${BUILD_LOG_REGEX}
Displays lines from the build log that match the regular _expression_.
regex
Lines that match this regular _expression_ are included. See also java.util.regex.Pattern.Defaults to "(?i)\\b(error|exception|fatal|fail(ed|ure)|un(defined|resolved))
b"
linesBefore
The number of lines to include before the matching line. Lines that overlap with another match or linesAfter are only inlcuded once. Defaults to 0.
linesAfter
The number of lines to include after the matching line. Lines that overlap with another match or linesBefore are only included once. Defaults to 0.
maxMatches
The maximum number of matches to include. If 0, all matches will be included. Defaults to 0.
showTruncatedLines
If true, include ...truncated ### lines... lines. Defaults to true.
substText
If non-null, insert this text into the email rather than the entire line. Defaults to null.
escapeHtml
If true, escape HTML. Defauts to false.
matchedLineHtmlStyle
If non-null, output HTML. Matched lines will become <b style="your-style-value"> html escaped matched line</b>. Defaults to null.
addNewline
If true, adds a newline after subsText. Defaults to true.
defaultValue
This value will be used if nothing is replaced.
${CHANGES_SINCE_LAST_UNSTABLE}
Expands to the changes since the last unstable or successful build.
reverse
If true, show most recent builds at the top instead of the bottom. Defaults to false.
format
For each build listed, a string containing %X, where %X is one of
%c
changes
%n
build number
Defaults to Changes for Build #%n\n%c\n
See additional documentation on ${CHANGES} token for showPaths, format and pathFormat parameters
${BUILD_STATUS}
Displays the status of the current build. (failing, success, etc...)
${FAILED_TESTS}
Displays failing unit test information, if any tests failed.
showStack
Shows stack trace in failing test output. Defaults to true.
maxTests
Display at most this many tests. No limit is set by default.
onlyRegressions
Display only the failing tests that are different from previous builds. Defaults to false.
${TEST_COUNTS,var="TYPE"}
Displays the number of tests based on the type (var) passed in (total, pass, fail, skip). Defaults to total.
${JELLY_SCRIPT,template="TEMPLATE_NAME"}
Custom message content generated from a Jelly script template. There are two templates provided: "html" and "text". Custom Jelly templates should be placed in $JENKINS_HOME/email-templates.When using custom templates, the template filename without ".jelly" should be used for the "template" argument.
Token Macro Plugin Tokens
${ANALYSIS_FIXED}
Expands to the total number of fixed warnings in a build.
${ANALYSIS_NEW}
Expands to the total number of new warnings in a build.
${ANALYSIS_COUNT}
Expands to the total number of warnings in a build.
${ANALYSIS_RESULT}
Expands to the build result of the analysis collector plug-in.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_ID}
Displays the build ID of the current build.
${BUILD_LOG}
Displays the end of the build log.
maxLines
Display at most this many lines of the log. Defaults to 250.
escapeHtml
If true, HTML is escape. Defaults to false.
${BUILD_LOG}
Displays the end of the build log.
maxLines
Display at most this many lines of the log. Defaults to 250.
escapeHtml
If true, HTML is escape. Defaults to false.
${BUILD_LOG}
Displays the end of the build log.
maxLines
Display at most this many lines of the log. Defaults to 250.
escapeHtml
If true, HTML is escape. Defaults to false.
${BUILD_LOG}
Displays the end of the build log.
maxLines
Display at most this many lines of the log. Defaults to 250.
escapeHtml
If true, HTML is escape. Defaults to false.
${BUILD_LOG}
Displays the end of the build log.
maxLines
Display at most this many lines of the log. Defaults to 250.
escapeHtml
If true, HTML is escape. Defaults to false.
${BUILD_LOG}
Displays the end of the build log.
maxLines
Display at most this many lines of the log. Defaults to 250.
escapeHtml
If true, HTML is escape. Defaults to false.
${BUILD_LOG}
Displays the end of the build log.
maxLines
Display at most this many lines of the log. Defaults to 250.
escapeHtml
If true, HTML is escape. Defaults to false.
${BUILD_LOG}
Displays the end of the build log.
maxLines
Display at most this many lines of the log. Defaults to 250.
escapeHtml
If true, HTML is escape. Defaults to false.
${BUILD_LOG}
Displays the end of the build log.
maxLines
Display at most this many lines of the log. Defaults to 250.
escapeHtml
If true, HTML is escape. Defaults to false.
${BUILD_LOG}
Displays the end of the build log.
maxLines
Display at most this many lines of the log. Defaults to 250.
escapeHtml
If true, HTML is escape. Defaults to false.