This is an automated email from the ASF dual-hosted git repository.
iuliana 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 4ae75f0 Add client profile to Maven build and set memory to 12Gb
new 69fc1f7 Merge pull request #52 from grkvlt/fix/brooklyn-client-memory
4ae75f0 is described below
commit 4ae75f0123a5bc07fc0b4c02fc583ebe820ff967
Author: Andrew Donald Kennedy <[email protected]>
AuthorDate: Tue May 11 15:42:47 2021 +0100
Add client profile to Maven build and set memory to 12Gb
---
Jenkinsfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 4461e53..587db70 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 'mvn clean install -Prpm -Pdeb -Duser.home=/var/maven
-Duser.name=jenkins'
+ sh 'MAVEN_OPTS="-Xmx12g" ; mvn clean install -Prpm -Pdeb
-Pclient -Duser.home=/var/maven -Duser.name=jenkins'
}
}
@@ -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 -DskipTests
-Duser.home=/var/maven -Duser.name=jenkins'
+ sh 'MAVEN_OPTS="-Xmx12g" mvn deploy -Prpm -Pdeb
-Pclient -DskipTests -Duser.home=/var/maven -Duser.name=jenkins'
}
}
}