install dependencies
This commit is contained in:
parent
c2ab736281
commit
5e086d45eb
|
@ -25,9 +25,7 @@ node {
|
||||||
}
|
}
|
||||||
stage ('Install Node dependencies') {
|
stage ('Install Node dependencies') {
|
||||||
nodejs('node-8.12.0') {
|
nodejs('node-8.12.0') {
|
||||||
sh "npm install -g gulp"
|
sh "npm install"
|
||||||
sh "npm install -g docker-compose"
|
|
||||||
sh "npm install --only=prod"
|
|
||||||
//sh "npm install --only=dev"
|
//sh "npm install --only=dev"
|
||||||
sh "gulp install"
|
sh "gulp install"
|
||||||
}
|
}
|
||||||
|
@ -39,10 +37,8 @@ node {
|
||||||
|
|
||||||
}
|
}
|
||||||
stage ('Generating new dockers') {
|
stage ('Generating new dockers') {
|
||||||
nodejs('node-8.12.0') {
|
|
||||||
sh "docker build -t vn-loopback:latest ./services/loopback/"
|
sh "docker build -t vn-loopback:latest ./services/loopback/"
|
||||||
sh "docker-compose up -d --build"
|
sh "docker-compose up -d --build"
|
||||||
sh "docker image prune -f"
|
sh "docker image prune -f"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue