Deploy improvements

This commit is contained in:
Juan Ferrer 2019-01-11 09:39:39 +01:00
parent f529cbb7e9
commit 776aa089df
1 changed files with 4 additions and 2 deletions

6
Jenkinsfile vendored
View File

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