ci(chuanqi_server_jenkins): 添加 Docker Compose 重启步骤- 在 Jenkins 部署脚本中添加了 Docker Compose重启命令

- 确保在代码更新后,Docker容器能够正确重启并应用更改
This commit is contained in:
aixianling
2024-12-13 17:15:42 +08:00
parent 3b9721b0b1
commit 5a03cb7636

View File

@@ -5,6 +5,7 @@ pipeline {
steps {
echo 'Deploying...'
sh "cd /home/cq/data&&git pull"
sh "cd /home/cq/data&&docker compose restart"
}
}
}