Use Xvfb for testing

MYC-Refactor
Hammy 3 years ago
parent 5c4c004840
commit d9d06aee63

4
Jenkinsfile vendored

@ -12,7 +12,6 @@ pipeline {
GPG_OWNER_TRUST = credentials('8703bbe8-c099-481f-8337-1dce32d51771')
}
wrap([$class: 'Xvfb']) {
stages {
stage("Import GPG Keys") {
when {
@ -30,6 +29,7 @@ pipeline {
}
}
}
wrap([$class: 'Xvfb']) {
stage("Test") {
steps {
sh "mvn test"
@ -46,6 +46,7 @@ pipeline {
}
}
}
}
stage("Deploy To OSSRH") {
when {
branch 'release'
@ -63,7 +64,6 @@ pipeline {
}
}
}
}
post {
success {

Loading…
Cancel
Save