Improved Jenkinsfile
This commit is contained in:
parent
ecf1194c59
commit
6552b238cc
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -18,8 +18,13 @@ node {
|
||||
}
|
||||
}
|
||||
dir('target/front'){
|
||||
stage("Frontend: Build") {
|
||||
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' }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user