ci game vs findbugs, pmd and open tasks

5 messages Options
Embed this post
Permalink
bvoigt

ci game vs findbugs, pmd and open tasks

Reply Threaded More More options
Print post
Permalink
Hi,

We have a m2 Hudson Job, which build 4 modules in an aggregator build
using maven 2.2.1 and jdk 1.5. We have the findbugs, clover2, and pmd m2
plugins configured in the poms of the modules and use the following as
goals in the maven build:

clean findbugs:findbugs pmd:pmd clover2:setup install clover2:aggregatea \
clover2:clover -P integration-build -Denv=weekly \
-Djava.awt.headless=true

We also have the hudson plugins for findbugs, pmd, open tasks, compiler
warnings and the ci game installed and activated for this build job.

The build just runs fine and all the reports are generated, but the ci
game seems to only give points for build stability and compiler warnings.
It does not consider changes in findbugs, pmd and open tasks.


Might this be a configuration problem or a bug in the plugin(s) itselves ?

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

Christoph Kutzinski

Re: ci game vs findbugs, pmd and open tasks

Reply Threaded More More options
Print post
Permalink
I've got a setup with m2 jobs maven 2.2.1, jdk 1.6, findbugs, checkstyle an ci-game plugins running fine.

What strikes me about your setup is that you run the install phase after the findbugs, pmd and clover goals. Are you sure that it works this way?

My command line is this
clean install findbugs:findbugs checkstyle:checkstyle


-------- Original-Nachricht --------
> Datum: Tue, 3 Nov 2009 10:35:01 +0100
> Von: Benjamin Voigt <[hidden email]>
> An: [hidden email]
> Betreff: ci game vs findbugs, pmd and open tasks

> Hi,
>
> We have a m2 Hudson Job, which build 4 modules in an aggregator build
> using maven 2.2.1 and jdk 1.5. We have the findbugs, clover2, and pmd m2
> plugins configured in the poms of the modules and use the following as
> goals in the maven build:
>
> clean findbugs:findbugs pmd:pmd clover2:setup install clover2:aggregatea \
> clover2:clover -P integration-build -Denv=weekly \
> -Djava.awt.headless=true
>
> We also have the hudson plugins for findbugs, pmd, open tasks, compiler
> warnings and the ci game installed and activated for this build job.
>
> The build just runs fine and all the reports are generated, but the ci
> game seems to only give points for build stability and compiler warnings.
> It does not consider changes in findbugs, pmd and open tasks.
>
>
> Might this be a configuration problem or a bug in the plugin(s) itselves ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]

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

Erik Ramfelt

Re: ci game vs findbugs, pmd and open tasks

Reply Threaded More More options
Print post
Permalink
In reply to this post by bvoigt
Im not sure whats wrong here, it should work. Could you please file an
error report with most of the files from a build that did not record
points for checkstyle and pmd?

What versions of the plugins and Hudson are you using?

//Erik

On Tue, Nov 3, 2009 at 10:35, Benjamin Voigt <[hidden email]> wrote:

> Hi,
>
> We have a m2 Hudson Job, which build 4 modules in an aggregator build
> using maven 2.2.1 and jdk 1.5. We have the findbugs, clover2, and pmd m2
> plugins configured in the poms of the modules and use the following as
> goals in the maven build:
>
> clean findbugs:findbugs pmd:pmd clover2:setup install clover2:aggregatea \
> clover2:clover -P integration-build -Denv=weekly \
> -Djava.awt.headless=true
>
> We also have the hudson plugins for findbugs, pmd, open tasks, compiler
> warnings and the ci game installed and activated for this build job.
>
> The build just runs fine and all the reports are generated, but the ci
> game seems to only give points for build stability and compiler warnings.
> It does not consider changes in findbugs, pmd and open tasks.
>
>
> Might this be a configuration problem or a bug in the plugin(s) itselves ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

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

bvoigt

Re: ci game vs findbugs, pmd and open tasks

Reply Threaded More More options
Print post
Permalink
I'll try to re-order my maven goals and see if that helps.

I don't think that I'm allowed to publish those files because of company
policies...
Anyway, here are the plugin versions wer are using:

Hudson plugins :
pmd - 2.13
ci game - 1.15
findbugs - 3.13
warnings - 2.14
task scanner - 3.13
clover - 2.5

Maven2 plugins :
pmd - 2.4
findbugs - 2.1
clover2 - 2.6.1


On Wed, Nov 04, 2009 at 09:50:14AM +0100, Erik Ramfelt wrote:

> Im not sure whats wrong here, it should work. Could you please file an
> error report with most of the files from a build that did not record
> points for checkstyle and pmd?
>
> What versions of the plugins and Hudson are you using?
>
> //Erik
>
> On Tue, Nov 3, 2009 at 10:35, Benjamin Voigt <[hidden email]> wrote:
> > Hi,
> >
> > We have a m2 Hudson Job, which build 4 modules in an aggregator build
> > using maven 2.2.1 and jdk 1.5. We have the findbugs, clover2, and pmd m2
> > plugins configured in the poms of the modules and use the following as
> > goals in the maven build:
> >
> > clean findbugs:findbugs pmd:pmd clover2:setup install clover2:aggregatea \
> > clover2:clover -P integration-build -Denv=weekly \
> > -Djava.awt.headless=true
> >
> > We also have the hudson plugins for findbugs, pmd, open tasks, compiler
> > warnings and the ci game installed and activated for this build job.
> >
> > The build just runs fine and all the reports are generated, but the ci
> > game seems to only give points for build stability and compiler warnings.
> > It does not consider changes in findbugs, pmd and open tasks.
> >
> >
> > Might this be a configuration problem or a bug in the plugin(s) itselves ?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]

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

bvoigt

Re: ci game vs findbugs, pmd and open tasks

Reply Threaded More More options
Print post
Permalink
The only thing that changes after moving the install goal between clean
and the other goals is, that I get 0 percent clover code coverage.

On Wed, Nov 04, 2009 at 10:13:08AM +0100, Benjamin Voigt wrote:

> I'll try to re-order my maven goals and see if that helps.
>
> I don't think that I'm allowed to publish those files because of company
> policies...
> Anyway, here are the plugin versions wer are using:
>
> Hudson plugins :
> pmd - 2.13
> ci game - 1.15
> findbugs - 3.13
> warnings - 2.14
> task scanner - 3.13
> clover - 2.5
>
> Maven2 plugins :
> pmd - 2.4
> findbugs - 2.1
> clover2 - 2.6.1
>
>
> On Wed, Nov 04, 2009 at 09:50:14AM +0100, Erik Ramfelt wrote:
> > Im not sure whats wrong here, it should work. Could you please file an
> > error report with most of the files from a build that did not record
> > points for checkstyle and pmd?
> >
> > What versions of the plugins and Hudson are you using?
> >
> > //Erik
> >
> > On Tue, Nov 3, 2009 at 10:35, Benjamin Voigt <[hidden email]> wrote:
> > > Hi,
> > >
> > > We have a m2 Hudson Job, which build 4 modules in an aggregator build
> > > using maven 2.2.1 and jdk 1.5. We have the findbugs, clover2, and pmd m2
> > > plugins configured in the poms of the modules and use the following as
> > > goals in the maven build:
> > >
> > > clean findbugs:findbugs pmd:pmd clover2:setup install clover2:aggregatea \
> > > clover2:clover -P integration-build -Denv=weekly \
> > > -Djava.awt.headless=true
> > >
> > > We also have the hudson plugins for findbugs, pmd, open tasks, compiler
> > > warnings and the ci game installed and activated for this build job.
> > >
> > > The build just runs fine and all the reports are generated, but the ci
> > > game seems to only give points for build stability and compiler warnings.
> > > It does not consider changes in findbugs, pmd and open tasks.
> > >
> > >
> > > Might this be a configuration problem or a bug in the plugin(s) itselves ?
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [hidden email]
> > > For additional commands, e-mail: [hidden email]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

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