удалил повторное создание контейнера
parent
f35222e2a4
commit
1f7933ced7
|
|
@ -2,20 +2,13 @@ pipeline {
|
|||
agent { label 'agent_smith' }
|
||||
|
||||
stages {
|
||||
stage('Stop and Remove Existing Container') {
|
||||
stage('recreate > build > reun container') {
|
||||
steps {
|
||||
sh "docker-compose up --force-recreate --build -d parse_saby"
|
||||
sh "docker image prune -f"
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build and Run Container') {
|
||||
steps {
|
||||
sh '''
|
||||
docker-compose up --build -d
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('show logs') {
|
||||
steps {
|
||||
sh '''
|
||||
|
|
|
|||
Loading…
Reference in New Issue