Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » how to configure hudson plugin for specfic job
how to configure hudson plugin for specfic job [message #1130252] Wed, 09 October 2013 11:09 Go to next message
Shweta Agrawal is currently offline Shweta AgrawalFriend
Messages: 2
Registered: October 2013
Junior Member
I have enable checkStyle and PMD plugin which hudson provide.However I'am not sure
how i can enable that for specific job.
Can any one provide inputs on the same?
Re: how to configure hudson plugin for specfic job [message #1130540 is a reply to message #1130252] Wed, 09 October 2013 17:27 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 434
Registered: August 2011
Location: Fremont, CA USA
Senior Member
The plugins basically read the XML results of checkStyle and PMD and display the results in the job dashboard. Also it is capable of displaying the trends over various builds.

In your build scripts you have to first run the CheckStyle and PMD. For example you could use Maven PMD plugin to run PMD (For details see http://maven.apache.org/plugins/maven-pmd-plugin/). Once the PMD result XML is available, you need to specify those locations to the plugin at the post build section of the job configuration.

For more details visit

http://wiki.hudson-ci.org/display/HUDSON/PMD+Plugin


Winston Prakash
Eclipse Hudson team
Re: how to configure hudson plugin for specfic job [message #1131184 is a reply to message #1130540] Thu, 10 October 2013 09:17 Go to previous messageGo to next message
Shweta Agrawal is currently offline Shweta AgrawalFriend
Messages: 2
Registered: October 2013
Junior Member
Thanks for reply.
So you mean we need to enable plug-in in Hudson and also we need to add the plug-in in pom.XML(currently we using maven)???
Re: how to configure hudson plugin for specfic job [message #1133209 is a reply to message #1131184] Fri, 11 October 2013 17:41 Go to previous message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 434
Registered: August 2011
Location: Fremont, CA USA
Senior Member
No, you use maven PMD plugin (not Hudson PMD plugin) in pom.xml. Here is a link explaining how to use maven PMD plugin in a maven build

http://www.avajava.com/tutorials/lessons/how-do-i-generate-pmd-and-cpd-reports-for-a-site.html


Winston Prakash
Eclipse Hudson team
Previous Topic:Parameterised hudson
Next Topic:Problem with hudson release plugin and freestyle job
Goto Forum:
  


Current Time: Thu Nov 27 11:05:54 GMT 2014

Powered by FUDForum. Page generated in 0.01765 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software