From 5e086d45eb711fec8b9725c594f801fbd72003a9 Mon Sep 17 00:00:00 2001 From: Joan Date: Thu, 25 Oct 2018 11:38:21 +0200 Subject: [PATCH] install dependencies --- Jenkinsfile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c397842b4..81d92819d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,10 +25,8 @@ node { } stage ('Install Node dependencies') { nodejs('node-8.12.0') { - sh "npm install -g gulp" - sh "npm install -g docker-compose" - sh "npm install --only=prod" - // sh "npm install --only=dev" + sh "npm install" + //sh "npm install --only=dev" sh "gulp install" } } @@ -39,10 +37,8 @@ node { } stage ('Generating new dockers') { - nodejs('node-8.12.0') { - sh "docker build -t vn-loopback:latest ./services/loopback/" - sh "docker-compose up -d --build" - sh "docker image prune -f" - } + sh "docker build -t vn-loopback:latest ./services/loopback/" + sh "docker-compose up -d --build" + sh "docker image prune -f" } }