Improved Jenkinsfile

This commit is contained in:
Artur Nowakowski 2019-11-30 22:45:54 +01:00
parent 33f264869d
commit 4406f430da

4
Jenkinsfile vendored
View File

@ -20,9 +20,7 @@ node {
dir('target/front'){ dir('target/front'){
stage("Frontend: Build") { stage("Frontend: Build") {
docker.image('circleci/node:10').inside{ docker.image('circleci/node:10').inside{
withEnv([ withEnv(['HOME=.']) { sh 'npm install && npm run build' }
'HOME=.',
]) { sh 'npm install && npm run build' }
} }
} }
} }