тест docker

main
Лев 2025-08-27 12:11:18 +05:00
parent 08001462cc
commit 8ac7720f6e
1 changed files with 0 additions and 7 deletions

7
Jenkinsfile vendored
View File

@ -4,16 +4,9 @@ pipeline {
stages { stages {
stage('recreate > build > reun container') { stage('recreate > build > reun container') {
steps { steps {
sh "docker images -a"
sh "docker-compose down --rmi all"
sh "docker images -a" sh "docker images -a"
sh "docker-compose up --force-recreate --build -d parse_saby" sh "docker-compose up --force-recreate --build -d parse_saby"
sh "docker images -a" sh "docker images -a"
sh """
#!/bin/bash
"docker images -a | grep 'git.dataekb.ru/sadikov/parse_saby/parse_saby_main' | awk '{print $3}' | xargs docker rmi"
"""
sh "docker images -a"
} }
} }