add withChecks into pipeline
All checks were successful
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 50.00% (2/4) * Lines of Code: 4 * Cyclomatic Complexity: 3 #### Quality Gates Summary Overall result: Success Output truncated.
Test / Build passed: 1

This commit is contained in:
bQUARKz 2025-02-20 07:52:42 +00:00
parent 1be54f4ca0
commit 4f783e4719
Signed by: bquarkz
SSH Key Fingerprint: SHA256:Z7dgqoglWwoK6j6u4QC87OveEq74WOhFN+gitsxtkf8

9
Jenkinsfile vendored
View File

@ -15,10 +15,11 @@ pipeline {
name: 'JaCoCo Coverage', name: 'JaCoCo Coverage',
sourceCodeRetention: 'EVERY_BUILD', sourceCodeRetention: 'EVERY_BUILD',
qualityGates: [ qualityGates: [
[threshold: 40.0, metric: 'CLASS', baseline: 'PROJECT'], [threshold: 40.0, metric: 'CLASS', baseline: 'PROJECT', unstable: true],
[threshold: 40.0, metric: 'METHOD', baseline: 'PROJECT'], [threshold: 40.0, metric: 'METHOD', baseline: 'PROJECT', unstable: true],
[threshold: 40.0, metric: 'LINE', baseline: 'PROJECT'], [threshold: 40.0, metric: 'LINE', baseline: 'PROJECT', unstable: true],
[threshold: 40.0, metric: 'BRANCH', baseline: 'PROJECT']]) [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' junit testResults: '**/build/test-results/test/TEST-*.xml'
} }
} }