Удалить Jenkinsfile
parent
f4515aacfb
commit
5e0c098758
|
|
@ -1,23 +0,0 @@
|
||||||
pipeline {
|
|
||||||
agent any
|
|
||||||
|
|
||||||
stages {
|
|
||||||
stage('Stop and Remove Existing Container') {
|
|
||||||
steps {
|
|
||||||
sh '''
|
|
||||||
docker stop open_sesam || true
|
|
||||||
docker rm open_sesam || true
|
|
||||||
docker-compose down || true
|
|
||||||
'''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Build and Run Container') {
|
|
||||||
steps {
|
|
||||||
sh '''
|
|
||||||
docker-compose up --build -d
|
|
||||||
'''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue