diff --git a/Jenkinsfile b/Jenkinsfile index d422f6b..932a631 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -67,6 +67,8 @@ pipeline { --network sczx-net \ -p 8019:8019 \ -e JAVA_OPTS="-Xms256m -Xmx512m -Duser.timezone=Asia/Shanghai" \ + -e TZ=Asia/Shanghai \ + -v /etc/localtime:/etc/localtime:ro \ -v /root/cert:/root/cert:ro \ --restart always \ \${DOCKER_IMAGE}