Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19888

Fail build on pmd violation threshold breach

$
0
0

I am currently using the below configuration to ignore pmd violations.

pmdMain {
ignoreFailures = true
}

Is there a way to define maxAllowedViolations . So that build fails only if the violation crosses this limit.
Any pointers in this direction will be greatly appreciated.


Viewing all articles
Browse latest Browse all 19888

Trending Articles