diff --git a/Jenkinsfile b/Jenkinsfile index a709cd8..43cdf4b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } }