stage("Code coverage")
{
steps {
sh "./gradlew jacocoTestReport"
publishHTML (target: [reportDir: 'build/reports/jacoco/test/html', reportFiles: 'index.html',reportName: "JaCoCo Report"])
sh "./gradlew jacocoTestCoverageVerification"
}
}
Latest posts by Rajesh Kumar (see all)
- Dynatrace Tutorials: Dynatrace Managed Cluster on the AWS Cloud - September 23, 2023
- Dynatrace Tutorials: How to Generate a Dynatrace API Token - September 23, 2023
- Kubernetes Tutorials: How to modify CHANGE-CAUSE in Deployment revision - September 22, 2023