From 85cd3f874ece9dd0b9f204e5b71446e55b196254 Mon Sep 17 00:00:00 2001 From: Hammy Date: Fri, 6 Aug 2021 02:00:18 +0100 Subject: [PATCH] Use Xvfb for testing --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d1e01b4..647238d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,8 +30,10 @@ pipeline { } } stage("Test") { - steps { - sh "mvn test" + wrap([$class: 'Xvfb']) { + steps { + sh "mvn test" + } } post { success {