feat(Jenkinsfile): [A] add Jenkinsfile
[A] add Jenkinsfile Signed-off-by: Ching <loooching@gmail.com>
This commit is contained in:
parent
95f70c1478
commit
70cccac644
15
jenkinsfile
Normal file
15
jenkinsfile
Normal file
@ -0,0 +1,15 @@
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'node:6-alpine'
|
||||
args '-p 3000:3000'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'cd frontend; npm install; npm run build'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user