Use Xvfb for testing

MYC-Refactor
Hammy 3 years ago
parent d9d06aee63
commit 30645b4819

4
Jenkinsfile vendored

@ -29,11 +29,12 @@ pipeline {
} }
} }
} }
wrap([$class: 'Xvfb']) {
stage("Test") { stage("Test") {
steps { steps {
wrap([$class: 'Xvfb']) {
sh "mvn test" sh "mvn test"
} }
}
post { post {
success { success {
echo "Generating Test Report..." echo "Generating Test Report..."
@ -46,7 +47,6 @@ pipeline {
} }
} }
} }
}
stage("Deploy To OSSRH") { stage("Deploy To OSSRH") {
when { when {
branch 'release' branch 'release'

Loading…
Cancel
Save