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