I've seen a number of posts on making a Maven-backed Jenkins build fail for a given project if a coverage threshold isn't met i.e. coverage must be at least 80% or the build fails.
I'm wondering if there is a way to configure Jenkins to fail a build if the coverage is lower than the last build i.e. if the coverage for build N is 20%, and N+1 is 19%, then the build fails. I don't want to put in an explicit threshold, but I want the coverage to stay steady or get higher over time.
question from:
https://stackoverflow.com/questions/6486054/can-a-jenkins-build-be-failed-for-coverage-going-down 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…