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 {
agent any
stage('Application Test') {
withChecks(name: 'Test', includeStage: true) {
sh './gradlew clean test'
junit '**/build/test-results/test/TEST-*.xml'
stages {
stage('Application Test') {
withChecks(name: 'Test', includeStage: true) {
sh './gradlew clean test'
junit '**/build/test-results/test/TEST-*.xml'
}
}
}
}