-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
微信公众号:储凡
authored
Dec 26, 2023
1 parent
a8c5428
commit 263e235
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | ||
} | ||
} | ||
} | ||
} |