Add java memory options to appc stage job 40/100340/1
authorPatrick Brady <patrick.brady@att.com>
Wed, 15 Jan 2020 19:25:04 +0000 (11:25 -0800)
committerPatrick Brady <patrick.brady@att.com>
Wed, 15 Jan 2020 19:25:08 +0000 (11:25 -0800)
The appc-maven-stage-master job is failing with a
'GC overhead limit exceeded' error. This change adds the
same maven/java properties that the other appc build jobs
use to  attempt to correct the problem.

Change-Id: Icdc1aa438bd060560df5c3a242720bf2c91fcc00
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

jjb/appc/appc-master.yaml

index 9f17454..1e49704 100644 (file)
           sign-artifacts: true
           build-node: centos7-docker-8c-8g
           maven-versions-plugin: true
+          mvn-opts: "-Xmx4000m -XX:MaxPermSize=256m"
+          java-opts: "-Xmx4000m -XX:MaxPermSize=256m"
       - '{project-name}-gerrit-release-jobs':
           build-node: centos7-docker-8c-8g
+          mvn-opts: "-Xmx4000m -XX:MaxPermSize=256m"
+          java-opts: "-Xmx4000m -XX:MaxPermSize=256m"
 
     project: 'appc'
     stream: