diff --git a/Jenkinsfile b/Jenkinsfile index 3008c84..e26b6da 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,6 +13,13 @@ pipeline { withChecks(name: 'test-coverage', includeStage: true) { sh './gradlew jacocoTestReport jacocoTestCoverageVerification' junit '**/build/test-results/test/TEST-*.xml' + recordCoverage(tools: [[parser: 'JACOCO']], + id: 'jacoco', name: 'JaCoCo Coverage', + sourceCodeRetention: 'EVERY_BUILD' +// , qualityGates: [ +// [threshold: 60.0, metric: 'LINE', baseline: 'PROJECT', unstable: true], +// [threshold: 60.0, metric: 'BRANCH', baseline: 'PROJECT', unstable: true]] + ) } } }