diff --git a/Jenkinsfile b/Jenkinsfile index 971a14e0944..45c11c886af 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ pipeline { environment { - // JAVA_HOME = "/opt/jdk-17.0.2" + JAVA_HOME = "/opt/jdk-17.0.2" MY_ENV = sh(returnStdout: true, script: '''#!/bin/bash if [[ $BRANCH_NAME =~ "release-" ]]; then echo prod; else echo dev; fi diff --git a/pom.xml b/pom.xml index 1dc7d38507f..da37068e9c8 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ UTF-8 UTF-8 - 11 + 17 ${java.version} ${java.version} @@ -915,8 +915,8 @@ org.apache.maven.plugins maven-compiler-plugin - 11 - 11 + 17 + 17