add withChecks into pipeline

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

2
Jenkinsfile vendored
View File

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