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:28:15 +00:00
parent 5ee039ba1b
commit 1be54f4ca0

2
Jenkinsfile vendored
View File

@ -12,7 +12,7 @@ pipeline {
} }
recordCoverage(tools: [[parser: 'JACOCO', pattern: '**/build/reports/jacoco/test/jacoco*.xml']], recordCoverage(tools: [[parser: 'JACOCO', pattern: '**/build/reports/jacoco/test/jacoco*.xml']],
id: 'jacoco', id: 'jacoco',
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'],