Use Xvfb for testing

MYC-Refactor
Hammy 3 years ago
parent 85cd3f874e
commit 5c4c004840

4
Jenkinsfile vendored

@ -12,6 +12,7 @@ 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,11 +31,9 @@ pipeline {
} }
} }
stage("Test") { stage("Test") {
wrap([$class: 'Xvfb']) {
steps { steps {
sh "mvn test" sh "mvn test"
} }
}
post { post {
success { success {
echo "Generating Test Report..." echo "Generating Test Report..."
@ -64,6 +63,7 @@ pipeline {
} }
} }
} }
}
post { post {
success { success {

Loading…
Cancel
Save