parse_saby/Jenkinsfile

26 lines
749 B
Groovy

pipeline {
agent { label 'agent_smith' }
stages {
stage('recreate > build > reun container') {
steps {
sh "docker images -a"
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"
}
}
stage('show logs') {
steps {
sh "docker-compose logs -f"
}
}
}
}