Improved Jenkinsfile
This commit is contained in:
parent
6552b238cc
commit
33f264869d
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -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' }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user