Newbie: About findbugs, pmd etc

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

Newbie: About findbugs, pmd etc

jlcampos
Hi,

I was trying to setup my job to use findbugs and pmd. I dont know exactly what needs to be done in order to get things working. I suppose that the **/target/filex.xml is the results generated by both, findbugs and pmd or these are files that I need to provide? Do i need to download pmd and findbugs or just with the plugin is enoguh? when running my job i see "No report files were found. Configuration error?" for both findbugs and pmd, what i need to do in order to get things working.

Any help will be highly appreciated.

Best Regards
Reply | Threaded
Open this post in threaded view
|

Re: Newbie: About findbugs, pmd etc

Kohsuke Kawaguchi
Administrator
jlcampos wrote:
> Hi,
>
> I was trying to setup my job to use findbugs and pmd. I dont know exactly
> what needs to be done in order to get things working. I suppose that the
> **/target/filex.xml is the results generated by both, findbugs and pmd or
> these are files that I need to provide? Do i need to download pmd and
> findbugs or just with the plugin is enoguh? when running my job i see "No
> report files were found. Configuration error?" for both findbugs and pmd,
> what i need to do in order to get things working.

I believe your build needs to run those tools to generate XML report
files. Hudson will take those files and do the visualization.

>
> Any help will be highly appreciated.
>
> Best Regards


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Newbie: About findbugs, pmd etc

Adam Purkiss
Assuming you had an ant build file you would have installed findbugs for example on you server and the build file as one of its steps will run the ant findbugs task which then generates the result xml file inside your workspace.
 
The plugin is then provided with the path to said file and will parse it for display inside of hudson.
 
The plugin does not include the actual findbugs tool.






> Date: Thu, 3 Jul 2008 11:57:34 -0700

> From: [hidden email]
> To: [hidden email]
> Subject: Re: Newbie: About findbugs, pmd etc
>
> jlcampos wrote:
> > Hi,
> >
> > I was trying to setup my job to use findbugs and pmd. I dont know exactly
> > what needs to be done in order to get things working. I suppose that the
> > **/target/filex.xml is the results generated by both, findbugs and pmd or
> > these are files that I need to provide? Do i need to download pmd and
> > findbugs or just with the plugin is enoguh? when running my job i see "No
> > report files were found. Configuration error?" for both findbugs and pmd,
> > what i need to do in order to get things working.
>
> I believe your build needs to run those tools to generate XML report
> files. Hudson will take those files and do the visualization.
>
> >
> > Any help will be highly appreciated.
> >
> > Best Regards
>
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems [hidden email]



Express yourself with free Messenger emoticons. Get them today!