Skip to content

Commit a6db59d

Browse files
committed
Jenkinsfile: reduced memory for maven, increased build timeout
- The Jenkins is slower than usual these days Signed-off-by: David Matějček <[email protected]>
1 parent ca72bc0 commit a6db59d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ spec:
127127
- name: "HOME"
128128
value: "/home/jenkins"
129129
- name: "MAVEN_OPTS"
130-
value: "-Duser.home=/home/jenkins -Xmx2500m -Xss512k -XX:+UseG1GC -XX:+UseStringDeduplication -Xlog:gc"
130+
value: "-Duser.home=/home/jenkins -Xmx2g -Xss512k -XX:+UseG1GC -XX:+UseStringDeduplication -Xlog:gc"
131131
volumeMounts:
132132
- name: "jenkins-home"
133133
mountPath: "/home/jenkins"
@@ -217,10 +217,10 @@ spec:
217217
try {
218218
startVmstatLogging('mvn-build')
219219
dumpSysInfo()
220-
timeout(time: 10, unit: 'MINUTES') {
220+
timeout(time: 30, unit: 'MINUTES') {
221221
sh '''
222222
# Validate the structure in all submodules (especially version ids)
223-
mvn -B -e -fae clean validate -Ptck,set-version-id
223+
mvn -V -B -e -fae clean validate -Ptck,set-version-id
224224
225225
# Until we fix ANTLR in cmp-support-sqlstore, broken in parallel builds. Just -Pfast after the fix.
226226
mvn -B -e install -Pfastest,ci -T4C

0 commit comments

Comments
 (0)