Update jenkinsfile
This commit is contained in:
10
jenkinsfile
10
jenkinsfile
@@ -52,13 +52,19 @@ pipeline {
|
|||||||
|
|
||||||
stage('Spring Deployment') {
|
stage('Spring Deployment') {
|
||||||
steps {
|
steps {
|
||||||
sh 'docker-compose up -d spring'
|
sh '''
|
||||||
|
docker-compose rm -f spring || true
|
||||||
|
docker-compose up -d spring
|
||||||
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Angular Deployment') {
|
stage('Angular Deployment') {
|
||||||
steps {
|
steps {
|
||||||
sh 'docker-compose up -d angular'
|
sh '''
|
||||||
|
docker-compose rm -f angular || true
|
||||||
|
docker-compose up -d angular
|
||||||
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user