and in AbortIfNoCoverage.groovy I parse the final xml to calculate the average cobertura and if it's under a limit throw a exception to abort the pipeline
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
hi thx for the article, it was very helpful.
what's in your cloverXtraConfig.groovy & AbortIfNotCoverage.groovy files .
Cheers !
true, I forgotten them
I use cloverXtraConfig.groovy to remove
CompileStatic
andTypeChecked
annotations:and in AbortIfNoCoverage.groovy I parse the final
xml
to calculate the average cobertura and if it's under a limit throw a exception to abort the pipeline