diff --git a/Jenkinsfile b/Jenkinsfile index afc9145..224030b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,7 +37,7 @@ pipeline { } stage('Build Docker Image') { - agent any +// agent any steps { echo "🐋 正在构建 Docker 镜像..." sh 'docker build -t "$DOCKER_IMAGE" .' @@ -45,7 +45,7 @@ pipeline { } stage('Stop Old Container') { - agent any +// agent any steps { echo "🛑 正在停止旧的容器(如果存在)..." sh ''' @@ -58,7 +58,7 @@ pipeline { } stage('Run New Container') { - agent any +// agent any steps { echo "🟢 正在运行新的容器..." sh """