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 re...@apache.org on 2024/01/18 18:50:46 UTC
(jackrabbit-oak) branch OAK-10613 created (now 6efde7ab38)
This is an automated email from the ASF dual-hosted git repository.
reschke pushed a change to branch OAK-10613
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
at 6efde7ab38 OAK-10613: Set Java version in Jenkinsfile to 17 (for SonarCloud)
This branch includes the following new commits:
new 6efde7ab38 OAK-10613: Set Java version in Jenkinsfile to 17 (for SonarCloud)
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(jackrabbit-oak) 01/01: OAK-10613: Set Java version in Jenkinsfile to 17 (for SonarCloud)
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reschke pushed a commit to branch OAK-10613
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
commit 6efde7ab389df40bec2aea9b1295a2872ef9f5cb
Author: Julian Reschke <re...@apache.org>
AuthorDate: Thu Jan 18 19:50:30 2024 +0100
OAK-10613: Set Java version in Jenkinsfile to 17 (for SonarCloud)
---
Jenkinsfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 7d368896ab..adb7c280c3 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -43,7 +43,7 @@ def buildModule(moduleSpec) {
}
stage(moduleSpec) {
node(label: 'ubuntu') {
- def JAVA_JDK_11=tool name: 'jdk_11_latest', type: 'hudson.model.JDK'
+ def JAVA_JDK_17=tool name: 'jdk_17_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_11/bin","Path+MAVEN=$MAVEN_3_LATEST/bin","JAVA_HOME=$JAVA_JDK_11","MAVEN_OPTS=-Xmx1536M"]) {
+ withEnv(["Path+JDK=$JAVA_JDK_17/bin","Path+MAVEN=$MAVEN_3_LATEST/bin","JAVA_HOME=$JAVA_JDK_17","MAVEN_OPTS=-Xmx1536M"]) {
sh '''
echo "MAVEN_OPTS is ${MAVEN_OPTS}"
'''