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

12
Jenkinsfile vendored
View File

@ -24,12 +24,16 @@ 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') {
sh "gulp build" nodejs('node-lts') {
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/"

View File

@ -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"