You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by ng...@apache.org on 2023/01/31 09:07:54 UTC
[jackrabbit-oak] branch trunk updated: OAK-10001 | Update node config in jenkins file to jdk 11 (#839)
This is an automated email from the ASF dual-hosted git repository.
ngupta pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/trunk by this push:
new e156ced2c1 OAK-10001 | Update node config in jenkins file to jdk 11 (#839)
e156ced2c1 is described below
commit e156ced2c178b81ff0da98672029d76f2e252cad
Author: nit0906 <ni...@gmail.com>
AuthorDate: Tue Jan 31 14:37:47 2023 +0530
OAK-10001 | Update node config in jenkins file to jdk 11 (#839)
Co-authored-by: Nitin Gupta <ni...@adobe.com>
---
Jenkinsfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 3aeb93e43c..d89d6003af 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -43,7 +43,7 @@ def buildModule(moduleSpec) {
}
stage(moduleSpec) {
node(label: 'ubuntu') {
- def JAVA_JDK_8=tool name: 'jdk_1.8_latest', type: 'hudson.model.JDK'
+ def JAVA_JDK_11=tool name: 'jdk_11_latest', type: 'hudson.model.JDK'
def MAVEN_3_LATEST=tool name: 'maven_3_latest', type: 'hudson.tasks.Maven$MavenInstallation'
def MAVEN_CMD = "mvn --batch-mode -Dmaven.repo.local=${env.HOME}/maven-repositories/${env.EXECUTOR_NUMBER}"
def MONGODB_SUFFIX = sh(script: 'openssl rand -hex 4', returnStdout: true).trim()
@@ -56,7 +56,7 @@ def buildModule(moduleSpec) {
'''
timeout(70) {
checkout scm
- withEnv(["Path+JDK=$JAVA_JDK_8/bin","Path+MAVEN=$MAVEN_3_LATEST/bin","JAVA_HOME=$JAVA_JDK_8","MAVEN_OPTS=-Xmx1536M"]) {
+ withEnv(["Path+JDK=$JAVA_JDK_11/bin","Path+MAVEN=$MAVEN_3_LATEST/bin","JAVA_HOME=$JAVA_JDK_11","MAVEN_OPTS=-Xmx1536M"]) {
sh '''
echo "MAVEN_OPTS is ${MAVEN_OPTS}"
'''