add withChecks into pipeline
Some checks are pending
test-coverage / build
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 No active quality gates.

This commit is contained in:
bQUARKz 2025-02-19 15:43:41 +00:00
parent 39a361ec41
commit 407bc6311c
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -6,7 +6,7 @@ pipeline {
steps {
withChecks(name: 'test-coverage', includeStage: true) {
sh './gradlew clean test jacocoTestReport jacocoTestCoverageVerification'
junit '**/build/test-results/test/TEST-*.xml'
// junit '**/build/test-results/test/TEST-*.xml'
recordCoverage(tools: [[parser: 'JACOCO']],
id: 'jacoco', name: 'JaCoCo Coverage',
sourceCodeRetention: 'EVERY_BUILD'

View File

@ -42,7 +42,7 @@ tasks.jacocoTestReport {
xml.required.set(true)
xml.outputLocation.set(file("build/reports/jacoco/test/jacoco.xml"))
csv.required.set(false)
html.required.set(true)
html.required.set(false)
}
}