add withChecks into pipeline

This commit is contained in:
Nilton Constantino 2025-02-19 13:10:15 +00:00
parent fdbaeed699
commit 7c924fbef2

10
Jenkinsfile vendored
View File

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