Skip to content
Permalink
Browse files
XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC for testing
  • Loading branch information
Duncan Grant committed Apr 13, 2021
1 parent e66c271 commit b851e5679ee0c46748161603e25a1bf2ea702959
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 'MAVEN_OPTS=-Xmx8g -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC ; mvn deploy -Prpm -Pdeb -Pclient -DskipTests -Duser.home=/var/maven -Duser.name=jenkins'
sh 'MAVEN_OPTS=""-Xmx8g -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC" ; mvn deploy -Prpm -Pdeb -Pclient -DskipTests -Duser.home=/var/maven -Duser.name=jenkins'
}
}
}

0 comments on commit b851e56

Please sign in to comment.