первая тестовая рабочия версия и тестирование докер.
parent
f0b796d575
commit
1823bf1ac5
|
|
@ -4,14 +4,13 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage('recreate > build > reun container') {
|
stage('recreate > build > reun container') {
|
||||||
steps {
|
steps {
|
||||||
sh "docker images"
|
sh "docker images -a"
|
||||||
sh "docker-compose down --rmi all"
|
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-compose up --force-recreate --build -d parse_saby"
|
||||||
sh "docker images"
|
sh "docker images -a"
|
||||||
sh "docker image remove -f git.dataekb.ru/sadikov/parse_saby/parse_saby_main"
|
sh "docker images -a | grep "git.dataekb.ru/sadikov/parse_saby/parse_saby_main" | awk '{print $3}' | xargs docker rmi"
|
||||||
sh "docker image remove -f parse-saby"
|
sh "docker images -a"
|
||||||
sh "docker images"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue