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