mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-29 11:31:41 +01:00
Parallel test execution, moved clean-up
This commit is contained in:
parent
8d62cd78ab
commit
8fe59ae83c
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -6,7 +6,7 @@ pipeline {
|
||||
steps {
|
||||
dir("Plan") {
|
||||
script {
|
||||
sh './gradlew shadowJar --parallel'
|
||||
sh './gradlew clean shadowJar --parallel'
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -16,7 +16,7 @@ pipeline {
|
||||
dir("Plan") {
|
||||
script {
|
||||
try {
|
||||
sh './gradlew clean test'
|
||||
sh './gradlew test --parallel'
|
||||
} finally {
|
||||
junit '**/build/test-results/test/*.xml'
|
||||
}
|
||||
@ -45,4 +45,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
dir("Plan") {
|
||||
script {
|
||||
sh './gradlew clean --parallel'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user