From 7503ca034e55f2d33af8bd0cf561d0bfb726727d Mon Sep 17 00:00:00 2001 From: jiangh277 Date: Wed, 24 Dec 2025 18:01:49 +0800 Subject: [PATCH] build file edit --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e13b73f..7f335f9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -124,13 +124,13 @@ pipeline { writeFile file: 'docker-compose.yml', text: composeContent // 拉取最新镜像 - sh 'docker-compose pull' + sh 'docker compose pull' // 停止旧容器 - sh 'docker-compose down || true' + sh 'docker compose down || true' // 启动新容器 - sh 'docker-compose up -d' + sh 'docker compose up -d' echo "所有服务已部署完成" }