How to make sure that any PMD or Findbug warning fails the CI build?

15 views
Skip to first unread message

Rajdeep Biswas

unread,
Jun 21, 2017, 3:15:27 PM6/21/17
to Jenkins Users
The expectation is that whenever PMD or FindBug analysis report any warning, the CI build should fail. How can I enable that?

Arnaud Héritier

unread,
Jun 22, 2017, 6:44:58 PM6/22/17
to jenkins...@googlegroups.com
This plugin should help you :

https://wiki.jenkins-ci.org/display/JENKINS/Static+Code+Analysis+Plug-ins

  • Several failure thresholds to mark a build as unstable or failed
Reply all
Reply to author
Forward
0 new messages