[JIRA] (JENKINS-55293) Unable to set healthy levels to 0

11 views
Skip to first unread message

bjoern.pedersen@frm2.tum.de (JIRA)

unread,
Dec 21, 2018, 5:01:02 AM12/21/18
to jenkinsc...@googlegroups.com
Björn Pedersen created an issue
 
Jenkins / Improvement JENKINS-55293
Unable to set healthy levels to 0
Issue Type: Improvement Improvement
Assignee: Ulli Hafner
Components: warnings-ng-plugin
Created: 2018-12-21 10:00
Priority: Minor Minor
Reporter: Björn Pedersen

I tried to set the health report level to

 

healthy: 0 unhealthy: 1

this  causes an error, that both healthy and unhealthy should be set.

(guess : code needs to discriminiate between NULL/unset and 0/zero.)

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

ullrich.hafner@gmail.com (JIRA)

unread,
Dec 21, 2018, 7:46:02 AM12/21/18
to jenkinsc...@googlegroups.com
Ulli Hafner commented on Improvement JENKINS-55293
 
Re: Unable to set healthy levels to 0

0 is an invalid value. The first valid value is 1 because I compare with < and >. I think I need to improve the error message.

ullrich.hafner@gmail.com (JIRA)

unread,
Dec 22, 2018, 6:47:02 AM12/22/18
to jenkinsc...@googlegroups.com
Change By: Ulli Hafner
Status: Open Fixed but Unreleased
Resolution: Fixed

ullrich.hafner@gmail.com (JIRA)

unread,
Dec 28, 2018, 6:58:02 PM12/28/18
to jenkinsc...@googlegroups.com
Change By: Ulli Hafner
Status: Fixed but Unreleased Resolved
Released As: warnings-ng 1.0.1

christian.treczoks@continental-corporation.com (JIRA)

unread,
Apr 17, 2019, 6:49:02 AM4/17/19
to jenkinsc...@googlegroups.com
Christian Treczoks reopened an issue
 

When setting it to healthy=1, I get 100% health when having exactly one issue. If "<" is used, I don't understand why I get 100%

unhealthy=5 in this environment

Change By: Christian Treczoks
Resolution: Fixed
Status: Resolved Reopened

ullrich.hafner@gmail.com (JIRA)

unread,
Apr 17, 2019, 7:16:02 AM4/17/19
to jenkinsc...@googlegroups.com
 
Re: Unable to set healthy levels to 0

Christian Treczoks your attachment is broken. What values did you specify for healthy and unhealthy??

ullrich.hafner@gmail.com (JIRA)

unread,
Apr 17, 2019, 7:16:03 AM4/17/19
to jenkinsc...@googlegroups.com
Ulli Hafner edited a comment on Improvement JENKINS-55293
[~christiantreczoks] your attachment is broken. What values did you specify for {{healthy}} and {{unhealthy}}? ?

christian.treczoks@continental-corporation.com (JIRA)

unread,
Apr 17, 2019, 8:24:16 AM4/17/19
to jenkinsc...@googlegroups.com
Christian Treczoks updated an issue
 
Change By: Christian Treczoks
Attachment: image-2019-04-17-14-23-55-132.png

christian.treczoks@continental-corporation.com (JIRA)

unread,
Apr 17, 2019, 8:25:02 AM4/17/19
to jenkinsc...@googlegroups.com
Christian Treczoks updated an issue
Change By: Christian Treczoks
Attachment: image-2019-04-17-14-24-37-482.png

christian.treczoks@continental-corporation.com (JIRA)

unread,
Apr 17, 2019, 8:27:06 AM4/17/19
to jenkinsc...@googlegroups.com
Christian Treczoks commented on Improvement JENKINS-55293
 
Re: Unable to set healthy levels to 0

my settings: healthy: 1, minimumSeverity: 'NORMAL', unhealthy: 5

and I get the following result:

My expectation is: 80% for "Unused Functions"

P.S.: I use the groovy based custom parser and the latest Warning-NG-Version (4.0.0)

christian.treczoks@continental-corporation.com (JIRA)

unread,
Apr 30, 2019, 3:39:02 AM4/30/19
to jenkinsc...@googlegroups.com
Christian Treczoks updated an issue
Change By: Christian Treczoks
Issue Type: Improvement Bug

ullrich.hafner@gmail.com (JIRA)

unread,
Apr 30, 2019, 9:15:02 AM4/30/19
to jenkinsc...@googlegroups.com
Change By: Ulli Hafner
Status: Reopened Fixed but Unreleased
Resolution: Fixed

ullrich.hafner@gmail.com (JIRA)

unread,
May 8, 2019, 6:20:11 PM5/8/19
to jenkinsc...@googlegroups.com
Change By: Ulli Hafner
Status: Fixed but Unreleased Resolved
Released As: warnings-ng 1 5 .0. 1 0 (analysis-model and warnings-ng)

christian.treczoks@continental-corporation.com (JIRA)

unread,
May 9, 2019, 2:37:03 AM5/9/19
to jenkinsc...@googlegroups.com
Christian Treczoks updated an issue
Change By: Christian Treczoks
Attachment: image-2019-05-09-08-36-02-578.png

christian.treczoks@continental-corporation.com (JIRA)

unread,
May 9, 2019, 2:38:01 AM5/9/19
to jenkinsc...@googlegroups.com
Christian Treczoks commented on Bug JENKINS-55293
 
Re: Unable to set healthy levels to 0

Works perfectly now with Warning-NG 5.0.0

I wouldn't expect a sun, but that's not the responsibility of Warnings-NG-Plugin

christian.treczoks@continental-corporation.com (JIRA)

unread,
May 9, 2019, 2:40:03 AM5/9/19
to jenkinsc...@googlegroups.com
Change By: Christian Treczoks
Status: In Review Resolved
Resolution: Fixed

christian.treczoks@continental-corporation.com (JIRA)

unread,
May 9, 2019, 2:40:03 AM5/9/19
to jenkinsc...@googlegroups.com
Change By: Christian Treczoks
Resolution: Fixed
Status: Resolved In Review

christian.treczoks@continental-corporation.com (JIRA)

unread,
May 9, 2019, 2:40:04 AM5/9/19
to jenkinsc...@googlegroups.com
Christian Treczoks closed an issue as Fixed
Change By: Christian Treczoks
Status: Resolved Closed
Reply all
Reply to author
Forward
0 new messages