Hi.

We are running a Jenkins server with CI game. I have tried to configure the 
system, but I do not get PMD/FindBugs points in the CI Game.

Our spec:
Jenkins v2.13
CI Game v1.25
PMD plugin v3.45
FindBugs plugin v4.65
Static Analysis Utilities v1.48

The build runs smoothly, with correct status on warnings, e.g.
PMD: 3 warnings 
<http://tos-web-utvtest.hn.helsenord.no:8080/job/Skjerming/16/pmdResult> 
from one analysis.
   
   - 1 new warning 
   <http://tos-web-utvtest.hn.helsenord.no:8080/job/Skjerming/16/pmdResult/new>

Upon clicking on the warning we get to learn that this is a NORMAL priority 
warning.


Then I would assume that the final score should be -2 points (+1 for 
successful build, -3 for adding NORMAL PMD warning), but the score card 
gives just 1 point for successful builds.


I have the same problem with FindBugs.


The log says this:

[ci-game] evaluating rule: Build result
[ci-game] scored: 1.0
[ci-game] evaluating rule: Increased number of passed tests
[ci-game] evaluating rule: Decreased number of passed tests
[ci-game] evaluating rule: Increased number of failed tests
[ci-game] evaluating rule: Decreased number of failed tests
[ci-game] evaluating rule: Increased number of skipped tests
[ci-game] evaluating rule: Decreased number of skipped tests
[ci-game] evaluating rule: HIGH priority PMD warnings
[ci-game] evaluating rule: NORMAL priority PMD warnings
[ci-game] evaluating rule: LOW priority PMD warnings

...which indicates that CI Game is trying to evalaute the PMD warnings, but 
does not find the new warning. It also looks like the FindBugs is not scanned 
at all.

On my Build Settings I have checked for "Publish FindBugs analysis results" 
and "Publish PMD analysis results".
On my Post-build Actions I have checed for "FindBugs warnings" and "PMD 
warnings".

I can not see where I fail....? Pleeeeeeaaaase help :)

Thanks,
Torkil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/58a21d3d-5d5d-422b-816d-fa9cc233e0cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to