Merge branch 'test' into dev
This commit is contained in:
commit
7e31a83f52
|
@ -24,13 +24,17 @@ node {
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
stage ('Install Node dependencies') {
|
stage ('Install Node dependencies') {
|
||||||
sh "npm install --only=prod"
|
nodejs('node-lts') {
|
||||||
sh "npm install --only=dev"
|
sh "npm install"
|
||||||
sh "gulp install"
|
sh "gulp install"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage ('Build project') {
|
stage ('Build project') {
|
||||||
|
nodejs('node-lts') {
|
||||||
sh "gulp build"
|
sh "gulp build"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
stage ('Generating new dockers') {
|
stage ('Generating new dockers') {
|
||||||
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"
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
"md5": "^2.2.1",
|
"md5": "^2.2.1",
|
||||||
"require-yaml": "0.0.1",
|
"require-yaml": "0.0.1",
|
||||||
"serve-favicon": "^2.0.1",
|
"serve-favicon": "^2.0.1",
|
||||||
"strong-error-handler": "^2.1.0"
|
"strong-error-handler": "^2.1.0",
|
||||||
|
"object.pick": "^1.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"nsp": "^2.1.0"
|
"nsp": "^2.1.0"
|
||||||
|
|
Loading…
Reference in New Issue