fix/pipeline #20
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -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]]
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user