тест docker
parent
08001462cc
commit
8ac7720f6e
|
|
@ -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"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue