ci(chuanqi): 更新 Jenkins构建脚本

- 在 Docker 重启服务器后,添加了执行 run.sh 脚本的步骤
- 这个修改确保服务器在重启后能够正确启动游戏进程
This commit is contained in:
2024-12-14 12:08:37 +08:00
parent a20f991573
commit 40e94d96ae

View File

@@ -21,6 +21,7 @@ pipeline {
sh "cp -f stop.sh /home/cq/data/stop.sh"
sh "cp -rf wch /home/cq/data/wch"
sh "docker restart chuanqi-server"
sh "docker exec -itd chuanqi-server bash -- /data/run.sh"
}
}
}