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