Thanks for the hint William! Does the cobertura plugin work with php and phpunit respectively?
Thanks for info on that!! Zigster Am Mittwoch, 13. Februar 2013 16:20:49 UTC+1 schrieb William Soula: > > The cobertura plugin allows you to mark a build as unstable if the user > configured threshold for the coverage metric falls below a certain > percentage. Might even be able to make it fail. You could also use the > build timeout plugin to abort the build after a certain amount of time, or > a percentage of time. > > cobertura: > https://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin > > build timeout: > https://wiki.jenkins-ci.org/display/JENKINS/Build-timeout+Plugin > > Will > > On 02/13/2013 02:57 AM, Zigster wrote: > > I figured, that this would be one way to do. > > It's a bit strange, that there's no plugin providing that feature as > implementing a build fail for deteriorating code coverage or slow tests is > mentioned in a few reputable books (just as "Continuous Delivery" by > Humble/Farley) > > Thank you for your suggestion! > > > > > Am Dienstag, 12. Februar 2013 18:05:01 UTC+1 schrieb Octavian Covalschi: > >> You may not like this solution, but until someone will post a better >> solution, you could potentially create a simple shell task and run your >> coverage metrics from there... With some magic you could check the results >> and return 0 or 1 (i'm not sure the exact value), which will tell jenkins >> if it failed or not... >> >> This kind of trick helped me a lot when I didn't want to rely on old >> plugins or my requirement was too custom... >> >> >> On Tue, Feb 12, 2013 at 10:27 AM, Zigster <zigst...@gmail.com> wrote: >> >>> It's a PHP project... >>> >>> -- >>> 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-use...@googlegroups.com. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> -- > 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-use...@googlegroups.com <javascript:>. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- 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.