add withChecks into pipeline

This commit is contained in:
bQUARKz 2025-02-19 14:28:27 +00:00
parent 983b67833b
commit 4b57b3d45a

6
Jenkinsfile vendored
View File

@ -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'
}