提交jenkins自动化流水线
This commit is contained in:
Vendored
+5
-2
@@ -25,8 +25,11 @@ pipeline {
|
||||
}
|
||||
stage('安装依赖') {
|
||||
steps {
|
||||
sh 'npm install @dcloudio/uts-linux-x64-gnu'
|
||||
sh 'npm install'
|
||||
echo "清理旧依赖"
|
||||
sh "rm -rf node_modules package-lock.json"
|
||||
|
||||
echo "✅ 安装 UniApp 依赖(忽略平台+开权限+强制)"
|
||||
sh "npm install --force --unsafe-perm --ignore-platform"
|
||||
}
|
||||
}
|
||||
stage('打包uniapp') {
|
||||
|
||||
Reference in New Issue
Block a user