Making findbugs:check fail on only high bugs

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Making findbugs:check fail on only high bugs

Tranquil
Hi,

i'm running the maven findbugs plugin (via jenkins) and want it to fail only
when it find High Level bugs.

when running findbugs:findbugs the build doesn't fail and only show the list
of plugins.
when running findbugs:check, the build fails when it encouters the low level
bugs.

how can i tell it to fail the build only on high ?

i've tried settings the <threshold> param to high, but i believe this only
affect the bugs shown on the report and not the build fail level.

can anyone help?

thanks


Eyal.
Reply | Threaded
Open this post in threaded view
|

RE: Making findbugs:check fail on only high bugs

Yanko, Curtis
This might be a good place to try Sonar along with the Build Breaker
plugin.

________________________________

Curt Yanko
 

> -----Original Message-----
> From: eyal edri [mailto:[hidden email]]
> Sent: Thursday, April 28, 2011 8:39 AM
> To: Maven Users List
> Subject: Making findbugs:check fail on only high bugs
>
> Hi,
>
> i'm running the maven findbugs plugin (via jenkins) and want
> it to fail only when it find High Level bugs.
>
> when running findbugs:findbugs the build doesn't fail and
> only show the list of plugins.
> when running findbugs:check, the build fails when it
> encouters the low level bugs.
>
> how can i tell it to fail the build only on high ?
>
> i've tried settings the <threshold> param to high, but i
> believe this only affect the bugs shown on the report and not
> the build fail level.
>
> can anyone help?
>
> thanks
>
>
> Eyal.
>

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Making findbugs:check fail on only high bugs

Tranquil
can you please explain?

Sonar is a server by itself, how i can i use it while running a job on
jenkins?
is there a maven plugin i can use together with the findbugs without
installing sonar?

Eyal.

On Thu, Apr 28, 2011 at 4:13 PM, Yanko, Curtis <[hidden email]> wrote:

> This might be a good place to try Sonar along with the Build Breaker
> plugin.
>
> ________________________________
>
> Curt Yanko
>
>
> > -----Original Message-----
> > From: eyal edri [mailto:[hidden email]]
> > Sent: Thursday, April 28, 2011 8:39 AM
> > To: Maven Users List
> > Subject: Making findbugs:check fail on only high bugs
> >
> > Hi,
> >
> > i'm running the maven findbugs plugin (via jenkins) and want
> > it to fail only when it find High Level bugs.
> >
> > when running findbugs:findbugs the build doesn't fail and
> > only show the list of plugins.
> > when running findbugs:check, the build fails when it
> > encouters the low level bugs.
> >
> > how can i tell it to fail the build only on high ?
> >
> > i've tried settings the <threshold> param to high, but i
> > believe this only affect the bugs shown on the report and not
> > the build fail level.
> >
> > can anyone help?
> >
> > thanks
> >
> >
> > Eyal.
> >
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>