How to fail build if code coverage file was missing

12 views
Skip to first unread message

m.sun...@gmail.com

unread,
Jun 17, 2019, 3:30:28 PM6/17/19
to JaCoCo and EclEmma Users
I want to fails the build if there is no code coverage data. Looks currently only if the check fails it will fail.

Evgeny Mandrikov

unread,
Jun 17, 2019, 4:01:03 PM6/17/19
to JaCoCo and EclEmma Users

m.sun...@gmail.com

unread,
Jun 17, 2019, 5:47:14 PM6/17/19
to JaCoCo and EclEmma Users
On Monday, June 17, 2019 at 1:01:03 PM UTC-7, Evgeny Mandrikov wrote:
> https://maven.apache.org/enforcer/enforcer-rules/requireFilesExist.html
>
> On Monday, June 17, 2019 at 9:30:28 PM UTC+2, m.su...@gmail.com wrote:I want to fails the build if there is no code coverage data. Looks currently only if the check fails it will fail.

Thanks. Got it to work.

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages