Have you considered using the Sonar plugin? 
http://docs.codehaus.org/pages/viewpage.action?pageId=116359341
That could do the work for you, as well as lots of additional stuff.




On Tuesday, May 14, 2013 6:46:26 AM UTC-4, Zigster wrote:
>
> Hi Jenkins-Users,
>
> is there a good way to access build artifacts, e.g. the code coverage 
> report in the clover.xml of  - for example - the last stable build ?
>
> Background: 
>
> In a php project being built by jenkins, I would like to access the code 
> coverage ratio of a previous (stable) build and compare it with the recent 
> build - and in case the ratio deteriorates, let the recent build become 
> unstable.
>
> I know, that the clover.xml contains the "metrics" node with the 
> attributes "elements" and "coveredelements" which can be calculated as the 
> coverage percentage: (coveredelements/elements) * 100
>
> But how can I access the clover.xml from e.g. the Groovy Postbuild Plugin 
> in Jenkins ?
>
> Any suggestions are greatly appreciated!
>
>
> Zigster
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to