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

Loading…
Cancel
Save