add withChecks into pipeline

This commit is contained in:
Nilton Constantino 2025-02-19 13:34:25 +00:00
parent 90e1258c09
commit 2ae4277f27

4
Jenkinsfile vendored
View File

@ -4,11 +4,11 @@ pipeline {
stages { stages {
stage('Test') { stage('Test') {
steps { steps {
withChecks(name: 'Test', includeStage: true) { // withChecks(name: 'Test', includeStage: true) {
echo 'Testing..' echo 'Testing..'
sh './gradlew clean test' sh './gradlew clean test'
junit '**/build/test-results/test/TEST-*.xml' junit '**/build/test-results/test/TEST-*.xml'
} // }
} }
} }
} }