From 1823bf1ac5628f0e441e13258386f58e57a2cb25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=B2?= Date: Wed, 27 Aug 2025 11:21:58 +0500 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B2=D0=B0=D1=8F=20=D1=82?= =?UTF-8?q?=D0=B5=D1=81=D1=82=D0=BE=D0=B2=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1?= =?UTF-8?q?=D0=BE=D1=87=D0=B8=D1=8F=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D1=8F?= =?UTF-8?q?=20=D0=B8=20=D1=82=D0=B5=D1=81=D1=82=D0=B8=D1=80=D0=BE=D0=B2?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=B4=D0=BE=D0=BA=D0=B5=D1=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d1fed24..087dfcd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,14 +4,13 @@ pipeline { stages { stage('recreate > build > reun container') { steps { - sh "docker images" + sh "docker images -a" sh "docker-compose down --rmi all" - sh "docker images" + sh "docker images -a" sh "docker-compose up --force-recreate --build -d parse_saby" - sh "docker images" - sh "docker image remove -f git.dataekb.ru/sadikov/parse_saby/parse_saby_main" - sh "docker image remove -f parse-saby" - sh "docker images" + sh "docker images -a" + sh "docker images -a | grep "git.dataekb.ru/sadikov/parse_saby/parse_saby_main" | awk '{print $3}' | xargs docker rmi" + sh "docker images -a" } }