Commit d414fb1c authored by 李世星's avatar 李世星

fix(202301301146): 修改jenkinsfile

parent 9fa913b7
......@@ -130,7 +130,7 @@ Rollback:【回滚】''',
sshTransfer(
cleanRemote: false,
excludes: '',
execCommand: "docker stop ${APP_NAME} && docker rm ${APP_NAME} && cd /home/www/${APP_NAME} && docker run --restart=always -d --name=${APP_NAME} -v $(pwd)/log:/app/log ${APP_NAME}:dev && docker image prune -f",
execCommand: "docker stop ${APP_NAME} && docker rm ${APP_NAME} && cd /home/www/${APP_NAME} && docker run --restart=always -d --name=${APP_NAME} ${APP_NAME}:dev && docker image prune -f",
execTimeout: 120000,
flatten: false,
makeEmptyDirs: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment