удаление моего контейнера из за дублирование имени

main
Лев 2025-08-26 10:05:44 +05:00
parent 1f7933ced7
commit c951d35429
1 changed files with 3 additions and 1 deletions

4
Jenkinsfile vendored
View File

@ -4,11 +4,13 @@ pipeline {
stages { stages {
stage('recreate > build > reun container') { stage('recreate > build > reun container') {
steps { steps {
sh 'docker stop parse_saby || true'
sh "docker rm parse_saby || true"
sh "docker-compose up --force-recreate --build -d parse_saby" sh "docker-compose up --force-recreate --build -d parse_saby"
sh "docker image prune -f" sh "docker image prune -f"
} }
} }
stage('show logs') { stage('show logs') {
steps { steps {
sh ''' sh '''