diff --git a/Jenkinsfile b/Jenkinsfile index 0f56d39..0185515 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ node('build-slave') { env.NODE_ENV = "build" print "Environment will be : ${env.NODE_ENV}" sh ''' - export JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk-amd64 + export JAVA_HOME=/usr/lib/jvm/jdk-11.0.2 export PATH=$JAVA_HOME/bin:$PATH echo $(java -version) mvn clean install -DskipTests diff --git a/auto_build_deploy b/auto_build_deploy index 70a144e..2f17a87 100644 --- a/auto_build_deploy +++ b/auto_build_deploy @@ -29,7 +29,7 @@ node('build-slave') { env.NODE_ENV = "build" print "Environment will be : ${env.NODE_ENV}" sh """ - export JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk-amd64 + export JAVA_HOME=/usr/lib/jvm/jdk-11.0.2 export PATH=$JAVA_HOME/bin:$PATH mvn clean install -DskipTests mvn play2:dist -pl analytics-api