提交jenkins自动化流水线

This commit is contained in:
Home
2026-03-28 21:54:03 +08:00
parent 36c59033d8
commit 9f33f04e63
2 changed files with 10 additions and 26 deletions
Vendored
+1 -7
View File
@@ -22,13 +22,7 @@ pipeline {
'''
}
}
stage('修复npm环境') {
steps {
sh '''
npm config set prefix $WORKSPACE/.npm-global
'''
}
}
stage('安装依赖') {
steps {
sh 'npm install'