Improved Jenkinsfile

This commit is contained in:
Artur Nowakowski 2019-11-30 22:42:20 +01:00
parent 6552b238cc
commit 33f264869d

9
Jenkinsfile vendored
View File

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