[
https://issues.jenkins-ci.org/browse/JENKINS-12424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158745#comment-158745
]
Ulli Hafner edited comment on JENKINS-12424 at 2/7/12 9:22 PM:
---------------------------------------------------------------
Ok, I added the message to the build summary:
{code}
BuildResultEvaluator.failure.new.priority={0} new warnings of priority {3}
exceed the threshold of {1} by {2}
BuildResultEvaluator.failure.all.priority={0} warnings of priority {3} exceed
the threshold of {1} by {2}
BuildResultEvaluator.failure.new={0} new warnings exceed the threshold of {1}
by {2}
BuildResultEvaluator.failure.all={0} warnings exceed the threshold of {1} by {2}
{code}
Can you please check if these messages are ok (and correct English)? The
numbers in the brackets are replaced by values. There is one message for new
and totals and one for single priorty and all priorities.
was (Author: drulli):
Ok, I added the message to the build summary:
{code}
BuildResultEvaluator.failure.new.priority={0} new warnings of priority {3}
exceed the threshold of {1} by {2}
BuildResultEvaluator.failure.all.priority={0} warnings of priority {3} exceed
the threshold of {1} by {2}
BuildResultEvaluator.failure.new={0} new warnings exceed the threshold of {1}
by {2}
BuildResultEvaluator.failure.all={0} warnings exceed the threshold of {1} by {2}
{code}
Can you please check if these messages are ok (and correct English)? The
numbers in the brackets are replaced by values.
> More correct and specific build state change reasons from Warnings
> -------------------------------------------------------------------
>
> Key: JENKINS-12424
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12424
> Project: Jenkins
> Issue Type: Improvement
> Components: analysis-core, warnings
> Reporter: Greg Moncreaff
> Assignee: Ulli Hafner
> Priority: Minor
>
> I got this in my jobs console.
> [WARNINGS] Setting build status to FAILURE since total number of annotations
> exceeds the threshold 200: [HIGH, NORMAL, LOW]
> Two issues.
> 1. text says total, but this was actually a "compute status since reference
> build (new) gate.
> 2. text should say which specific criteria was exceeded
> 3. it doesn't tell you what the actual number/difference was
> E.g.
> [WARNINGS] Setting build status to FAILURE since number, 234, of new HIGH
> annotations exceeds the threshold of 200 by 34 or 17%.
--
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