add withChecks into pipeline

This commit is contained in:
Nilton Constantino 2025-02-19 13:09:41 +00:00
parent e69da61bf0
commit fdbaeed699

10
Jenkinsfile vendored
View File

@ -1,12 +1,10 @@
pipeline {
agent any
stages {
stage('Test') {
withChecks(name: 'Test', includeStage: true) {
sh './gradlew clean test'
junit '**/build/test-results/test/TEST-*.xml'
}
stage('Application Test') {
withChecks(name: 'Test', includeStage: true) {
sh './gradlew clean test'
junit '**/build/test-results/test/TEST-*.xml'
}
}
}