Skip to content

Commit

Permalink
feat: 新增Jenkins流水线配置 (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
chufan443 committed Dec 26, 2023
1 parent a8c5428 commit 263e235
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
pipeline {
agent any
tools {nodejs "Node18.18.1"}
stages {
stage('下载依赖') {
steps {
sh './scripts/ci'
}
}
stage('代码检查') {
steps {
sh './scripts/lint --fix'
}
}
stage('本地编译') {
steps {
sh './scripts/bundle build'
}
}
stage('镜像打包并推送') {
steps {
sh './scripts/bundle image_faster'
}
}
}
}

0 comments on commit 263e235

Please sign in to comment.