We're trying to limit Clover to a certain package and therefore have a <fileset>
definition in our Ant build file. Everything works fine from the command line (when we specify our known Ant target). But when it comes to the Clover plug-in on Hudson, we don't know which Ant target Hudson uses. Any pointers in using a Clover <fileset>
on Hudson?
Asked
Active
Viewed 345 times
1

Ates Goral
- 137,716
- 26
- 137
- 190
-
Are you using the Scriptless integration? http://wiki.hudson-ci.org/display/HUDSON/Clover+Plugin – Zac Thompson Aug 15 '10 at 01:02
-
@Zac Thompson: Yes, the idea was to get it working with scriptless integration. – Ates Goral Aug 15 '10 at 04:24
1 Answers
1
Would it be possible to invoke the ant target explicitly as a build step directly (via an Ant step), and then point Hudson at your Clover results via the post-build option? This is how we currently use Hudson+Clover.

mrooney
- 1,994
- 2
- 19
- 30
-
Just to confirm, with this approach, you can view the Clover results within the job result view, right? – Ates Goral Aug 13 '10 at 21:12
-
We've peeked into the clover.xml that comes with the Clover plugin jar and copied the clover.report target into our own Ant build file. We have a clover.setup target that defines the `
`. In Hudson we run clover.setup, then our own build target and then finally the clover.report target. We then let Hudson collect the Clover results. – Ates Goral Aug 18 '10 at 18:25