]> source.dussan.org Git - archiva.git/commitdiff
Adding mavenOpts to Jenkins build
authorMartin Stockhammer <martin_s@apache.org>
Sun, 6 May 2018 17:48:19 +0000 (19:48 +0200)
committerMartin Stockhammer <martin_s@apache.org>
Sun, 6 May 2018 17:48:19 +0000 (19:48 +0200)
Jenkinsfile

index daf56212064b0ca7ee9365c88eac224a79117127..a2392df3d209bf1637e2e37cdda2b554f4d85f44 100644 (file)
@@ -61,6 +61,7 @@ pipeline {
                     withMaven(maven: buildMvn, jdk: buildJdk,
                             mavenSettingsConfig: deploySettings,
                             mavenLocalRepo: ".repository",
+                            mavenOpts:'-XX:MaxPermSize=128m -Xmx1024m',
                             options: [concordionPublisher(disabled: true), dependenciesFingerprintPublisher(disabled: true),
                                       findbugsPublisher(disabled: true), artifactsPublisher(disabled: true),
                                       invokerPublisher(disabled: true), jgivenPublisher(disabled: true),