add withChecks into pipeline
This commit is contained in:
parent
fdbaeed699
commit
7c924fbef2
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user