add memory config in maven build

This commit is contained in:
zhiqiang feng
2023-12-18 11:31:56 +08:00
parent b3c6e56eb4
commit 535bbafda4
+2
View File
@@ -21,6 +21,8 @@ steps:
- name: maven build - name: maven build
image: maven:3-alpine image: maven:3-alpine
environment:
MAVEN_OPTS: "-Xmx1024m -XX:MaxPermSize=256m"
commands: commands:
- mvn clean package -Dmaven.test.skip=true - mvn clean package -Dmaven.test.skip=true
volumes: volumes: