Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Checkstyle, FindBugs, PMD & Co: Health thresholds
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jcrouvi  
View profile  
 More options Apr 21 2011, 2:42 am
From: jcrouvi <jcro...@yahoo.com>
Date: Wed, 20 Apr 2011 23:42:05 -0700 (PDT)
Local: Thurs, Apr 21 2011 2:42 am
Subject: Checkstyle, FindBugs, PMD & Co: Health thresholds
Hi,

We use Hudson ver. 1.395.
I have defined a new Maven 2/3 Job and configured the Health
thresholds for Checkstyle, ..., & Co. as follows: 100%: 6, 0%: 6

This job has got about:
 14 PMD warnings
   8 Findbugs warnings
 13 Checkstyle warnings

When this job is built, his Build stability is always 'sunny'!
Why?
I expect that the Build stability should be 'stormy'.

Thank you for your help.

Best Regards
J.-Claude


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ullrich Hafner  
View profile  
 More options Apr 21 2011, 3:14 am
From: Ullrich Hafner <ullrich.haf...@gmail.com>
Date: Thu, 21 Apr 2011 09:14:02 +0200
Local: Thurs, Apr 21 2011 3:14 am
Subject: Re: Checkstyle, FindBugs, PMD & Co: Health thresholds
On 04/21/2011 08:42 AM, jcrouvi wrote:

This is currently not supported for jobs using the Maven job type. Can
you please add your comments to JENKINS-4912? I need to remove the
configuration options until that feature is fixed...

Ulli


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jcrouvi  
View profile  
 More options Apr 21 2011, 4:17 am
From: jcrouvi <jcro...@yahoo.com>
Date: Thu, 21 Apr 2011 01:17:08 -0700 (PDT)
Local: Thurs, Apr 21 2011 4:17 am
Subject: Re: Checkstyle, FindBugs, PMD & Co: Health thresholds
Done: https://issues.jenkins-ci.org/browse/JENKINS-4912?focusedCommentId=14...

On 21 Apr., 09:14, Ullrich Hafner <ullrich.haf...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Swindells, Thomas  
View profile  
 More options Apr 21 2011, 5:12 am
From: "Swindells, Thomas" <TSwinde...@nds.com>
Date: Thu, 21 Apr 2011 10:12:37 +0100
Local: Thurs, Apr 21 2011 5:12 am
Subject: RE: Checkstyle, FindBugs, PMD & Co: Health thresholds
Have you tried using the static analysis plugin, with Post Build Action of Publish combined analysis results - this adds together the PMD, Findbugs and checkstyle warnings is then able to mark the build as unstable if you set some thresholds,

Thomas

*************************************************************************** ***********
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
*************************************************************************** ***********


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jean-Claude  
View profile  
 More options Apr 20 2011, 9:29 am
From: Jean-Claude <jcro...@yahoo.com>
Date: Wed, 20 Apr 2011 06:29:49 -0700 (PDT)
Local: Wed, Apr 20 2011 9:29 am
Subject: Checkstyle, FindBugs, PMD & Co: Health thresholds
Hi,

We use Hudson ver. 1.395.
I have defined a new Maven 2/3 Job and configured the Health thresholds for
Checkstyle, ..., & Co. as follows: 100%: 6, 0%: 6

This job has got about:
 14 PMD warnings
   8 Findbugs warnings
 13 Checkstyle warnings

When this job is built, his Build stability is always 'sunny'!
Why?
I expect that the Build stability should be 'stormy'.

Thank you for your help.

Best Regards
J.-Claude

--
View this message in context: http://jenkins.361315.n4.nabble.com/Checkstyle-FindBugs-PMD-Co-Health...
Sent from the Jenkins users mailing list archive at Nabble.com.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jcrouvi  
View profile  
 More options May 4 2011, 3:15 am
From: jcrouvi <jcro...@yahoo.com>
Date: Wed, 4 May 2011 00:15:08 -0700 (PDT)
Local: Wed, May 4 2011 3:15 am
Subject: Re: Checkstyle, FindBugs, PMD & Co: Health thresholds
Hi,

Thank you for your suggestion.
Did you mean this plugin?: https://wiki.jenkins-ci.org/display/JENKINS/Analysis+Collector+Plugin
when not, could you pleas post the link of the plugin you meant?
Thank you
J.-Claude

On 21 Apr., 11:12, "Swindells, Thomas" <TSwinde...@nds.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eyal Edri  
View profile  
 More options May 4 2011, 3:25 am
From: "Eyal Edri" <ee...@redhat.com>
Date: Wed, 4 May 2011 03:25:49 -0400 (EDT)
Local: Wed, May 4 2011 3:25 am
Subject: RE: Checkstyle, FindBugs, PMD & Co: Health thresholds
I also had this issue with the findbugs plugin.

It only worked when you create a 'free-style-project'.
Only then it shows you text areas for the different types of error levels
so you can choose for how many bugs you want it to fail or become
unstable.

You can configure maven job in it as well.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Swindells, Thomas  
View profile  
 More options May 4 2011, 4:51 am
From: "Swindells, Thomas" <TSwinde...@nds.com>
Date: Wed, 4 May 2011 09:51:41 +0100
Local: Wed, May 4 2011 4:51 am
Subject: RE: Checkstyle, FindBugs, PMD & Co: Health thresholds
Yeh, that appears to be the one installed on our system.

Thomas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jcrouvi  
View profile  
 More options May 4 2011, 10:30 am
From: jcrouvi <jcro...@yahoo.com>
Date: Wed, 4 May 2011 07:30:41 -0700 (PDT)
Local: Wed, May 4 2011 10:30 am
Subject: Re: Checkstyle, FindBugs, PMD & Co: Health thresholds
Hi,

I installed https://wiki.jenkins-ci.org/display/JENKINS/Analysis+Collector+Plugin
and encountered the following use case:
 - The plugin works well, we can configure the different thresholds.
 - The build behaves correctly according to the number of warnings
    and the configured thresholds.
 - Thank your for the advise.

In our case, we want only to display the 'Duplicate Code Results'. The
'Duplicate Code Results' don't have to impact the health of the build.
Is it possible to configure the Analysis Collector Plugin so that some
warnings are ignored?
I didn't find any option to configure the Analysis Collector Plugin
this way.

Best Regards
J.-Claude.

On 4 Mai, 10:51, "Swindells, Thomas" <TSwinde...@nds.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ulli Hafner  
View profile  
 More options May 4 2011, 11:17 am
From: Ulli Hafner <ullrich.haf...@gmail.com>
Date: Wed, 04 May 2011 17:17:52 +0200
Local: Wed, May 4 2011 11:17 am
Subject: Re: Checkstyle, FindBugs, PMD & Co: Health thresholds

This is not yet possible. An issue already exists.

However, I fixed the maven bug with the help of Kohsuke at the Hackathlon this weekend. A new plugin release will be available soon.

Ulli
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

jcrouvi <jcro...@yahoo.com> schrieb:

Hi, I installed https://wiki.jenkins-ci.org/display/JENKINS/Analysis+Collector+Plugin and encountered the following use case: - The plugin works well, we can configure the different thresholds. - The build behaves correctly according to the number of warnings and the configured thresholds. - Thank your for the advise. In our case, we want only to display the 'Duplicate Code Results'. The 'Duplicate Code Results' don't have to impact the health of the build. Is it possible to configure the Analysis Collector Plugin so that some warnings are ignored? I didn't find any option to configure the Analysis Collector Plugin this way. Best Regards J.-Claude. On 4 Mai, 10:51, "Swindells, Thomas" <TSwinde...@nds.com> wrote: > Yeh, that appears to be the one installed on our system. > > Thomas > > -----Original Message----- > From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of jcrouvi > Sent: Wednesday, May 04, 2011 8:15 AM > To: Jenkins Users > Subject:
Re: Checkstyle, FindBugs, PMD & Co: Health thresholds > > Hi, > > Thank you for your suggestion. > Did you mean this plugin?:https://wiki.jenkins-ci.org/display/JENKINS/Analysis+Collector+Plugin > when not, could you pleas post the link of the plugin you meant? > Thank you > J.-Claude > > On 21 Apr., 11:12, "Swindells, Thomas" <TSwinde...@nds.com> wrote: > > Have you tried using the static analysis plugin, with Post Build > > Action of Publish combined analysis results - this adds together the > > PMD, Findbugs and checkstyle warnings is then able to mark the build > > as unstable if you set some thresholds, > > > Thomas > > > > -----Original Message----- > > > From: jenkinsci-users@googlegroups.com [mailto:jenkinsci- > > > users@googlegroups.com] On Behalf Of Ullrich Hafner > > > Sent: 21 April 2011 08:14 > > > To: jenkinsci-users@googlegroups.com > > > Subject: Re: Checkstyle, FindBugs, PMD & Co: Health thresholds > > > > On 04/21/2011 08:42 AM, jcrouvi wrote: > > > > Hi, > > > >
> We use Hudson ver. 1.395. > > > > I have defined a new Maven 2/3 Job and configured the Health > > > > thresholds for Checkstyle, ...,&  Co. as follows: 100%: 6, 0%: 6 > > > > > This job has got about: > > > >   14 PMD warnings > > > >     8 Findbugs warnings > > > >   13 Checkstyle warnings > > > > > When this job is built, his Build stability is always 'sunny'! > > > > Why? > > > > I expect that the Build stability should be 'stormy'. > > > > > Thank you for your help. > > > > > Best Regards > > > > J.-Claude > > > > This is currently not supported for jobs using the Maven job type. > > > Can you please add your comments to JENKINS-4912? I need to remove > > > the configuration options until that feature is fixed... > > > > Ulli > > > ********************************************************************** > > **************** This message is confidential and intended only for > > the addressee. If you have received this message in error, please immediately notify the

postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. > > > NDS Limited. Registered Office: One London Road, Staines, Middlesex, > > TW18 4EX, United Kingdom. A company registered in England and Wales. > > Registered no. 3080780. VAT no. GB 603 8808 40-00 > > ********************************************************************** > > **************** > > *************************************************************************** *********** > This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the
environment please do not print this e-mail unless necessary. > > NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00 > *************************************************************************** ***********

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »