From e5998081e6508f2c8cd6ed4348d6c0260d0a85b1 Mon Sep 17 00:00:00 2001 From: Manjunath Davanam Date: Mon, 11 Apr 2022 10:29:20 +0530 Subject: [PATCH] SB-28788 feat: Jenkins file update --- Jenkinsfile | 2 +- auto_build_deploy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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