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'){
|
dir('target/front'){
|
||||||
stage("Frontend: Build") {
|
stage("Frontend: Build") {
|
||||||
docker.image('circleci/node:10').inside{
|
docker.image('circleci/node:10').inside{
|
||||||
withEnv([
|
withEnv([
|
||||||
'npm_config_cache=npm-cache',
|
'HOME=.',
|
||||||
'HOME=.',
|
]) { sh 'npm install && npm run build' }
|
||||||
]) { sh 'npm install && npm run build' }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user