Merge branch 'test' into dev

This commit is contained in:
Joan Sanchez 2018-10-25 13:04:59 +02:00
commit 7e31a83f52
2 changed files with 10 additions and 5 deletions

8
Jenkinsfile vendored
View File

@ -24,13 +24,17 @@ node {
checkout scm
}
stage ('Install Node dependencies') {
sh "npm install --only=prod"
sh "npm install --only=dev"
nodejs('node-lts') {
sh "npm install"
sh "gulp install"
}
}
stage ('Build project') {
nodejs('node-lts') {
sh "gulp build"
}
}
stage ('Generating new dockers') {
sh "docker build -t vn-loopback:latest ./services/loopback/"
sh "docker-compose up -d --build"

View File

@ -19,7 +19,8 @@
"md5": "^2.2.1",
"require-yaml": "0.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": {
"nsp": "^2.1.0"