Jenkinsfile fixes
This commit is contained in:
parent
11b40ae046
commit
40f3c57da9
|
@ -32,15 +32,15 @@ node {
|
||||||
stage ('Install client Node dependencies') {
|
stage ('Install client Node dependencies') {
|
||||||
sh "npm install"
|
sh "npm install"
|
||||||
}
|
}
|
||||||
stage ("Removing old dockers") {
|
|
||||||
sh "docker-compose down --rmi 'all'"
|
|
||||||
}
|
|
||||||
stage ('Build project') {
|
stage ('Build project') {
|
||||||
sh "gulp build"
|
sh "gulp build"
|
||||||
}
|
}
|
||||||
stage ("Install services Node dependencies") {
|
stage ("Install services Node dependencies") {
|
||||||
sh "cd ./services/loopback && npm install"
|
sh "cd ./services/loopback && npm install"
|
||||||
}
|
}
|
||||||
|
stage ("Removing old dockers") {
|
||||||
|
sh "docker-compose down --rmi 'all'"
|
||||||
|
}
|
||||||
stage ("Generating new dockers") {
|
stage ("Generating new dockers") {
|
||||||
sh "docker-compose up -d --build"
|
sh "docker-compose up -d --build"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue