Try something different and pray it works

MYC-Refactor
Hammy 3 years ago
parent afe714d74c
commit b4cf221ac7

@ -3,7 +3,8 @@ MAINTAINER Goudham Suresh
RUN apt-get update && apt-get install -y \
gpg \
xvfb
xvfb \
libxrender1:i386 libxtst6:i386 libxi6:i386
RUN export MAVEN_OPTS="-Djava.awt.headless=true"
RUN /usr/bin/Xvfb :99 &
RUN export DISPLAY=:99

2
Jenkinsfile vendored

@ -32,7 +32,7 @@ pipeline {
stage("Test") {
steps {
wrap([$class: 'Xvfb']) {
sh "mvn test"
sh "mvn test -Djava.awt.headless=true"
}
}
post {

Loading…
Cancel
Save