Skip to content
Permalink
Browse files
XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC for testing
  • Loading branch information
Duncan Grant committed Apr 13, 2021
1 parent 055dd72 commit e66c271a4c6d4dd04a6942ef094790d0d860a738
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; 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 e66c271

Please sign in to comment.