Skip to content

Commit 4c99fae

Browse files
committed
Increase memory size for release prepare step
1 parent 2bb62f3 commit 4c99fae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ci/release/Jenkinsfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,11 @@ pipeline {
174174
// update changelog from JIRA
175175
// tags the version
176176
// changes the version to the provided development version
177-
withEnv(["BRANCH=${env.GIT_BRANCH}"]) {
177+
withEnv([
178+
"BRANCH=${env.GIT_BRANCH}",
179+
// Increase the amount of memory for this part since asciidoctor doc rendering consumes a lot of metaspace
180+
"DEFAULT_JVM_OPTS=-Dlog4j2.disableJmx -Xmx4g -XX:MaxMetaspaceSize=768m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8"
181+
]) {
178182
sh ".release/scripts/prepare-release.sh ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION}"
179183
}
180184
}

0 commit comments

Comments
 (0)