Improved Jenkinsfile

This commit is contained in:
Artur Nowakowski 2019-11-30 22:39:26 +01:00
parent ecf1194c59
commit 6552b238cc

7
Jenkinsfile vendored
View File

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