修改内存大小
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -66,6 +66,8 @@ pipeline {
|
||||
--name \${CONTAINER_NAME} \
|
||||
-p 8089:8089 \
|
||||
-e JAVA_OPTS="-Xms128m -Xmx256m -Duser.timezone=Asia/Shanghai" \
|
||||
--memory="300m" \
|
||||
--memory-swap="300m" \
|
||||
--restart always \
|
||||
\${DOCKER_IMAGE}
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user