I believe you would have to use the archive artifact plugin so those files are kept affer a build then you should be able to retrieve them from a next build.
I thought there was a plugin already for that use case (to fail if the coverage deteriorates )... Or was it someone on the dev/user list ... On Tuesday, May 14, 2013, 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 [email protected] <javascript:_e({}, > 'cvml', 'jenkinsci-users%[email protected]');>. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Richard Lavoie IT consultant / consultant en informatique -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
