add withChecks into pipeline
All checks were successful
All checks were successful
This commit is contained in:
parent
1be54f4ca0
commit
4f783e4719
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -15,10 +15,11 @@ pipeline {
|
||||
name: 'JaCoCo Coverage',
|
||||
sourceCodeRetention: 'EVERY_BUILD',
|
||||
qualityGates: [
|
||||
[threshold: 40.0, metric: 'CLASS', baseline: 'PROJECT'],
|
||||
[threshold: 40.0, metric: 'METHOD', baseline: 'PROJECT'],
|
||||
[threshold: 40.0, metric: 'LINE', baseline: 'PROJECT'],
|
||||
[threshold: 40.0, metric: 'BRANCH', baseline: 'PROJECT']])
|
||||
[threshold: 40.0, metric: 'CLASS', baseline: 'PROJECT', unstable: true],
|
||||
[threshold: 40.0, metric: 'METHOD', baseline: 'PROJECT', unstable: true],
|
||||
[threshold: 40.0, metric: 'LINE', baseline: 'PROJECT', unstable: true],
|
||||
[threshold: 40.0, metric: 'INSTRUCTION', baseline: 'PROJECT', unstable: true],
|
||||
[threshold: 40.0, metric: 'BRANCH', baseline: 'PROJECT', unstable: true]])
|
||||
junit testResults: '**/build/test-results/test/TEST-*.xml'
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user