Improved Jenkinsfile
This commit is contained in:
parent
33f264869d
commit
4406f430da
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -20,9 +20,7 @@ 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(['HOME=.']) { sh 'npm install && npm run build' }
|
||||||
'HOME=.',
|
|
||||||
]) { sh 'npm install && npm run build' }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user