Failing jenkins build when unit test coverage falls below a threshold in a multi module maven project

classic Classic list List threaded Threaded
1 message Options
tuk
Reply | Threaded
Open this post in threaded view
|

Failing jenkins build when unit test coverage falls below a threshold in a multi module maven project

tuk
Can someone let me know how can I fail a build when code coverage falls below a certain threshold in a multi-module java maven project? I have looked at the jenkins-jacoco plugin but it does not mention anything specific to a multi-module project. Jacoco itself does not seem to support its check goal intended for this use case does not seem to work with the multi-module project as discussed here.

Can someone suggest some solution? 

I am trying to avoid sonar as I just need code coverage and nothing else and it will also require me to install it in a separate server. 


--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/788a7145-06e6-46c8-8614-c5ce70f102e4%40googlegroups.com.