Jenkins file was patched
BOT_open_sesam/pipeline/head There was a failure building this commit Details

test
dl 2025-05-16 16:48:51 +05:00
parent 83aac7cd51
commit bc99718123
1 changed files with 5 additions and 4 deletions

9
Jenkinsfile vendored
View File

@ -1,14 +1,13 @@
pipeline { pipeline {
agent { label any } agent { label 'agent_smith' }
stages { stages {
stage('Stop and Remove Existing Container') { stage('Stop and Remove Existing Container') {
steps { steps {
sh ''' sh '''
docker stop fastapi_hello_time || true docker stop fastapi_hello_time || true
docker rm fastapi_hello_time || true
docker-compose down || true docker-compose down || true
''' '''
} }
} }
@ -16,6 +15,8 @@ pipeline {
steps { steps {
sh ''' sh '''
docker-compose up --build -d docker-compose up --build -d
''' '''
} }
} }
}
}