Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Commit

Permalink
passing javaoptions and increasing the xmx to 2gb
Browse files Browse the repository at this point in the history
  • Loading branch information
rupalibehera committed Jun 18, 2018
1 parent a7f7364 commit b11b846
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Expand Up @@ -2,7 +2,8 @@
@Library('github.com/fabric8io/fabric8-pipeline-library@master')
def dummy
clientsTemplate{
mavenNode {
def javaOptions = '-Duser.home=/root/ -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx2048m'
mavenNode (javaOptions:javaOptions) {
ws{
checkout scm
sh "git remote set-url origin git@github.com:fabric8io/fabric8.git"
Expand All @@ -14,7 +15,7 @@ clientsTemplate{

stage 'Promote'
pipeline.release(stagedProject)

stage 'Update downstream dependencies'
pipeline.updateDownstreamDependencies(stagedProject)
}
Expand Down

0 comments on commit b11b846

Please sign in to comment.