Jenkins Pipeline: Code coveragenusing JaCoCo


stage("Code coverage") 
{     
	steps {          
			sh "./gradlew jacocoTestReport"          
			publishHTML (target: [reportDir: 'build/reports/jacoco/test/html',               reportFiles: 'index.html',reportName: "JaCoCo Report"])          
			sh "./gradlew jacocoTestCoverageVerification"     
			}
}

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x