From 4b57b3d45a4eb0ff954926f6be3d3e83acab7e62 Mon Sep 17 00:00:00 2001 From: bQUARKz Date: Wed, 19 Feb 2025 14:28:27 +0000 Subject: [PATCH] add withChecks into pipeline --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6098460..3008c84 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,13 +4,13 @@ pipeline { stages { stage('build') { steps { - withChecks(name: 'build', in) { + withChecks(name: 'build', includeStage: true) { sh './gradlew clean testClasses' } - withChecks(name: 'unit-tests', in) { + withChecks(name: 'unit-tests', includeStage: true) { sh './gradlew test' } - withChecks(name: 'test-coverage', in) { + withChecks(name: 'test-coverage', includeStage: true) { sh './gradlew jacocoTestReport jacocoTestCoverageVerification' junit '**/build/test-results/test/TEST-*.xml' }