This is an automated email from the ASF dual-hosted git repository.
stefanegli 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 874cc4d OAK-9535 related : trying to increase mvn memory
874cc4d is described below
commit 874cc4d7660c998ff417cd6edb07ba33aa4d27d8
Author: stefan-egli <[email protected]>
AuthorDate: Tue Sep 7 09:42:02 2021 +0200
OAK-9535 related : trying to increase mvn memory
---
Jenkinsfile | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index 912bc73..c6a1272 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -47,6 +47,13 @@ def buildModule(moduleSpec) {
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()
+ sh '''
+ echo "Setting MAVEN_OPTS"
+ echo "MAVEN_OPTS was ${MAVEN_OPTS}"
+ export MAVEN_OPTS="-Xmx1024M"
+ echo "MAVEN_OPTS now ${MAVEN_OPTS}"
+ echo "Setting MAVEN_OPTS done"
+ '''
timeout(60) {
checkout scm
withEnv(["Path+JDK=$JAVA_JDK_8/bin","Path+MAVEN=$MAVEN_3_LATEST/bin","JAVA_HOME=$JAVA_JDK_8"])
{