From 776aa089df53c70eac59bff95efb2f537e981689 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Fri, 11 Jan 2019 09:39:39 +0100 Subject: [PATCH] Deploy improvements --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index aacb5618a..a048826f9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,8 +39,10 @@ try { } stage ('Build') { nodejs('node-lts') { - sh "env NODE_ENV= npm install --no-audit" - sh "gulp install" + withEnv(['NODE_ENV=']) { + sh "npm install --no-audit" + sh "gulp install" + } sh "gulp build" }