ci(chuanqi): 更新 Jenkins 构建脚本
- 增加停止和重启 chuanqi-server-dev 容器的步骤 - 优化部署流程,确保开发环境和生产环境的一致性
This commit is contained in:
@@ -5,7 +5,9 @@ pipeline {
|
||||
steps {
|
||||
echo 'Deploying...'
|
||||
sh "cd /home/cq/s1&&git pull"
|
||||
sh "docker stop chuanqi-server-dev"
|
||||
sh "docker restart chuanqi-server-s1"
|
||||
sh "docker restart chuanqi-server-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user