I don't know if you can customize the ranks within FindBugs, maybe the FindBugs documentation or mailing list can help in that topic. Another option would be to work with include or exclude filters in FindBugs.
Ulli Am 08.03.2013 um 18:38 schrieb Paulo Cheadi Haddad Filho <paulo...@gmail.com>: > Hey Ulli! > > So there's no other way to classify a bug? Can't I do what I was to do (build > fail on specific bug)? > I would be satisfied if there's a way to Jenkins show the cloudly icon when > listing the jobs. At least I could > see that something went wrong. > > > Paulo > > > > > > On Thu, Mar 7, 2013 at 6:08 PM, Ulli Hafner <ullrich.haf...@gmail.com> wrote: > You can't define the ranks on your own. Rank is a kind of "new priority" > introduced by the FindBugs team. So each bug has a constant priority and > rank. What I'm doing in my plug-in is to map either each bug rank (if the > check boy is set) or priority to one of the three plug-in priorities LOW, > NORMAL, HIGH. The checkbox just determines which value is used to assign a > bug to one of the plug-in priorities. > > The mapping is defined in > https://github.com/jenkinsci/findbugs-plugin/blob/master/plugin/src/main/java/hudson/plugins/findbugs/parser/FindBugsParser.java#L329 > > Ulli > > > > Am 07.03.2013 um 21:32 schrieb Paulo Cheadi Haddad Filho <paulo...@gmail.com>: > >> Hey guys! >> >> I'm setting up a Jenkins server with Sonar for code analysis and coverage >> with FindBugs, Cobertura and PMD. >> >> Then I was asked to create a job in it that runs tests for some project and >> if Findbugs find some scary or worst problem then the build results in >> failure. >> >> After some googling I came up to this where it says >> Release 4.26 >> Added option to either use FindBugs bug priority or rank when mapping the >> plug-in warning priorities >> I thought that, with this change, I could set ranks in thresholds seen in >> this image >> >> >> >> >> >> So, I would like to know if it's possible to do what I was asked to and, if >> so, how to do it. And if I got it wrong, what's "use rank as priority" >> stands for? >> >> Thanks in advance! >> >> -- >> 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 jenkinsci-users+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > > -- > 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 jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > 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 jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.