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

37 views
Skip to first unread message

tuk

unread,
Aug 8, 2019, 3:39:48 AM8/8/19
to Jenkins Users
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. 


Reply all
Reply to author
Forward
0 new messages