Skip to content

Commit 263e235

Browse files
author
微信公众号:储凡
authored
feat: 新增Jenkins流水线配置 (#133)
1 parent a8c5428 commit 263e235

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Jenkinsfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
pipeline {
2+
agent any
3+
tools {nodejs "Node18.18.1"}
4+
stages {
5+
stage('下载依赖') {
6+
steps {
7+
sh './scripts/ci'
8+
}
9+
}
10+
stage('代码检查') {
11+
steps {
12+
sh './scripts/lint --fix'
13+
}
14+
}
15+
stage('本地编译') {
16+
steps {
17+
sh './scripts/bundle build'
18+
}
19+
}
20+
stage('镜像打包并推送') {
21+
steps {
22+
sh './scripts/bundle image_faster'
23+
}
24+
}
25+
}
26+
}

0 commit comments

Comments
 (0)