This is an automated email from the ASF dual-hosted git repository.

duncangrant pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn.git


The following commit(s) were added to refs/heads/master by this push:
     new 055dd72  Increase heap for deploy step
055dd72 is described below

commit 055dd72fd1c3ee4a7ea3b2871838d4a7cb1a77c8
Author: Duncan Grant <[email protected]>
AuthorDate: Tue Apr 13 11:03:54 2021 +0100

    Increase heap for deploy step
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 5b00592..03eee1d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -54,7 +54,7 @@ node(label: 'ubuntu') {
 
             stage('Run tests') {
                 environmentDockerImage.inside('-i --name 
brooklyn-${DOCKER_TAG} -v ${WORKSPACE}/.m2:/var/maven/.m2 --mount 
type=bind,source="${HOME}/.m2/settings.xml",target=/var/maven/.m2/settings.xml,readonly
 -v ${WORKSPACE}:/usr/build -w /usr/build') {
-                    sh 'MAVEN_OPTS=-Xmx8g; mvn clean install -Prpm -Pdeb 
-Duser.home=/var/maven -Duser.name=jenkins -DskipTests'
+                    sh 'mvn clean install -Prpm -Pdeb -Duser.home=/var/maven 
-Duser.name=jenkins -DskipTests'
                 }
             }
 
@@ -62,7 +62,7 @@ node(label: 'ubuntu') {
             if (env.CHANGE_ID == null) {
                 stage('Deploy artifacts') {
                     environmentDockerImage.inside('-i --name 
brooklyn-${DOCKER_TAG} -v ${WORKSPACE}/.m2:/var/maven/.m2 --mount 
type=bind,source="${HOME}/.m2/settings.xml",target=/var/maven/.m2/settings.xml,readonly
 -v ${WORKSPACE}:/usr/build -w /usr/build') {
-                        sh 'mvn deploy -Prpm -Pdeb -Pclient -DskipTests 
-Duser.home=/var/maven -Duser.name=jenkins'
+                        sh 'MAVEN_OPTS=-Xmx8g; mvn deploy -Prpm -Pdeb -Pclient 
-DskipTests -Duser.home=/var/maven -Duser.name=jenkins'
                     }
                 }
             }

Reply via email to