update Jenkinsfile

This commit is contained in:
ching 2022-01-16 01:32:35 +08:00
parent e82ac3ae3d
commit 3f7e61d7dc

4
Jenkinsfile vendored
View File

@ -4,12 +4,14 @@ pipeline {
image 'node:6-alpine' image 'node:6-alpine'
args '-p 3000:3000' args '-p 3000:3000'
} }
} }
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
sh 'cd frontend; npm install; npm run build' sh 'npm install'
} }
} }
} }
} }