update Jenkinsfile

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

26
Jenkinsfile vendored
View File

@ -1,15 +1,17 @@
pipeline {
agent {
docker {
image 'node:6-alpine'
args '-p 3000:3000'
}
agent {
docker {
image 'node:6-alpine'
args '-p 3000:3000'
}
stages {
stage('Build') {
steps {
sh 'cd frontend; npm install; npm run build'
}
}
}
stages {
stage('Build') {
steps {
sh 'npm install'
}
}
}
}
}