add withChecks into pipeline
This commit is contained in:
parent
fdbaeed699
commit
7c924fbef2
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -1,12 +1,14 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Application Test') {
|
||||
withChecks(name: 'Test', includeStage: true) {
|
||||
sh './gradlew clean test'
|
||||
junit '**/build/test-results/test/TEST-*.xml'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user