Skip to content

Commit

Permalink
Use MAVEN_OPTS to increase heap space for mvn
Browse files Browse the repository at this point in the history
  • Loading branch information
merks committed Apr 19, 2024
1 parent 6d2994a commit 85b3299
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Expand Up @@ -139,6 +139,7 @@ Console: <a href='${env.BUILD_URL}/console'>${env.BUILD_URL}/console</a>
def void mvn() {
wrap([$class: 'Xvnc', useXauthority: true]) {
sh '''
export MAVEN_OPTS="-Xmx1500m"
mvn \
clean \
verify \
Expand Down

0 comments on commit 85b3299

Please sign in to comment.