Switch back to Xvfb to see if it works

MYC-Refactor
Hammy 3 years ago
parent 6fe58a2cb7
commit 29653925ed

@ -3,4 +3,6 @@ MAINTAINER Goudham Suresh
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
gpg \ gpg \
tightvncserver xvfb
RUN Xvfb :99 &
RUN export DISPLAY=:99

8
Jenkinsfile vendored

@ -29,15 +29,9 @@ pipeline {
} }
} }
} }
stage("Start Server") {
steps {
sh "vncserver"
sh "vncserver -kill :1"
}
}
stage("Test") { stage("Test") {
steps { steps {
wrap([$class: 'Xvnc']) { wrap([$class: 'Xvfb']) {
sh "mvn test" sh "mvn test"
} }
} }

Loading…
Cancel
Save