重新修改一下

This commit is contained in:
2025-09-15 01:24:00 +08:00
parent fa7bc30756
commit e244b23280

2
Jenkinsfile vendored
View File

@ -44,7 +44,7 @@ pipeline {
steps {
echo "🛑 正在停止旧的容器(如果存在)..."
sh '''
if [ "$(docker ps -f 'name=\${CONTAINER_NAME}' --format '{{.Status}}')" ]; then
if [ "$(docker ps -f 'name=sczx_car-container' --format '{{.Status}}')" ]; then
docker stop sczx_car-container
docker rm sczx_car-container
fi