готовый вариант, должен работать

main
Лев 2025-08-27 14:49:23 +05:00
parent 2165e62197
commit d42e5fb0a3
1 changed files with 1 additions and 9 deletions

10
Jenkinsfile vendored
View File

@ -4,15 +4,7 @@ pipeline {
stages { stages {
stage('recreate > build > reun container') { stage('recreate > build > reun container') {
steps { steps {
sh "docker images -a" sh "docker-compose up --force-recreate --build -d parse_saby"
sh "docker-compose build parse_saby"
sh "docker rmi -f git.dataekb.ru/sadikov/parse_saby/parse_saby_main:latest"
sh "docker-compose build parse_saby"
sh "docker rmi -f git.dataekb.ru/sadikov/parse_saby/parse_saby_main:latest"
sh "docker-compose build parse_saby"
sh "docker rmi -f git.dataekb.ru/sadikov/parse_saby/parse_saby_main:latest"
//sh "docker-compose up --force-recreate --build -d parse_saby"
sh "docker images -a"
} }
} }