-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins v. 1.554.2
PMD Plugin v. 3.38.
Static Code Analysis Plugins v. 1.58
Hello.
I've got a problem with computing new warnings functional.
When I add a new PMD rule to my ruleset, I get odd results.
Test case:
- Start the first build.
See summaryand full
results.
- Add a new PMD rule to rule set and start the second build.
Rule 'LongVariable' was added. The summarycontains only 192 new warnings instead of 267 (==3126
-2859
).
Moreover, fullresult contains 267 warning for new 'LongVariable' rule (match against first result
).
- Go to job configuration, check 'Use delta for new warnings' check box and start the third build.
The result changed.
The summarycontains both 192 and 267 new warnings on the same page.
Besides, link '267 new warnings' opens a page with 192 new warnings.
I suppose that the number of new warning should always be 267 in the example.
- is related to
-
JENKINS-6675 Invalid number of new warnings detected
-
- Open
-
[JENKINS-24873] Wrong number of new warnings
Description |
Original:
ello. I've got a problem with computing new warnings functional. When I add a new PMD rule to my ruleset, I get odd results. Test case: # Start the first build. See [summary|^build_1_sum.png] and [full|^build_1_full.png] results. # Add a new PMD rule to rule set and start the second build. Rule 'LongVariable' was added. The [summary|^build_2_sum.png] contains only 192 new warnings instead of 267 (==[3126|^build_2_sum.png]-[2859|^build_1_sum.png]). Moreover, [full|^build_2_full.png] result contains 267 warning for new 'LongVariable' rule (match against [first result|^build_1_full.png]). # Go to job configuration, check 'Use delta for new warnings' check box and start the third build. The result changed. The [summary|^build_3_sum.png] contains both 192 and 267 new warnings on the same page. Besides, link '267 new warnings' opens a page with 192 new warnings. I suppose that the number of new warning should always be 267 in the example. |
New:
Hello. I've got a problem with computing new warnings functional. When I add a new PMD rule to my ruleset, I get odd results. Test case: # Start the first build. See [summary|^build_1_sum.png] and [full|^build_1_full.png] results. # Add a new PMD rule to rule set and start the second build. Rule 'LongVariable' was added. The [summary|^build_2_sum.png] contains only 192 new warnings instead of 267 (==[3126|^build_2_sum.png]-[2859|^build_1_sum.png]). Moreover, [full|^build_2_full.png] result contains 267 warning for new 'LongVariable' rule (match against [first result|^build_1_full.png]). # Go to job configuration, check 'Use delta for new warnings' check box and start the third build. The result changed. The [summary|^build_3_sum.png] contains both 192 and 267 new warnings on the same page. Besides, link '267 new warnings' opens a page with 192 new warnings. I suppose that the number of new warning should always be 267 in the example. |
Environment |
Original:
Jenkins v. 1.554.2 PMD Plugin v. 3.38. Analysis Collector Plugin v. 1.58 |
New:
Jenkins v. 1.554.2 PMD Plugin v. 3.38. Static Code Analysis Plugins v. 1.58 |
Link | New: This issue is related to JENKINS-6675 [ JENKINS-6675 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Attachment | New: tc_1_log.png [ 27737 ] | |
Attachment | New: tc_2_log.png [ 27738 ] | |
Attachment | New: tc_3_log.png [ 27739 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Reopened [ 4 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Closed [ 6 ] | New: Reopened [ 4 ] |
Attachment | New: new_build_1_sum.png [ 28159 ] | |
Attachment | New: new_build_2_new.png [ 28160 ] | |
Attachment | New: new_build_2_sum.png [ 28161 ] | |
Attachment | New: new_build_3_new.png [ 28162 ] | |
Attachment | New: new_build_3_sum.png [ 28163 ] |