[
https://issues.jenkins-ci.org/browse/JENKINS-12424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159730#comment-159730
]
Greg Moncreaff commented on JENKINS-12424:
------------------------------------------
First job that had a build that violated the thresholds had this in the build
splash page:
Compiler Warnings: 392 warnings.
174 new warnings
139 fixed warnings
Plug-in Result:Failed - 117 new warnings of priority Normal Priority exceed
the threshold of 80 by 37 (Reference build: #21)
build # 21 has
Compiler Warnings: 359 warnings.
I then remembered that this is not a total, but a priority check, and also that
I have 'delta' checked for configuration of the check.
build # 21 had 47 normals
build # 24 has 164 normals
164 - 47 = 117 > 80 (the threshold) => Answer is OK. It just takes some
getting used to.
Regardless, Thank You so much for making this change!!!
---------------------
Is it possible to do something like highlight some text in the justification
and link it to the data grids?
e.g. (slightly rewording it)
117 <ul>New Normal Priority</ul> Warnings exceed the threshold of 80 by 37
(Reference build: #21)
where the link navigates you to
build # >> Compiler Warnings ยป New Warnings
and selects the Normal priority tab?
> 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