ci(chuanqi_server_jenkins): 更新部署路径和容器名称
- 将部署路径从 /home/cq/chuanqi-server 修改为 /home/cq/instance - 将重启的容器名称从 chuanqi-server 修改为 chuanqi-server-dev
This commit is contained in:
@@ -4,8 +4,8 @@ pipeline {
|
||||
stage('部署') {
|
||||
steps {
|
||||
echo 'Deploying...'
|
||||
sh "cd /home/cq/chuanqi-server&&git pull"
|
||||
sh "docker restart chuanqi-server"
|
||||
sh "cd /home/cq/instance&&git pull"
|
||||
sh "docker restart chuanqi-server-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user