提交jenkins自动化流水线

This commit is contained in:
Home
2026-03-29 00:00:19 +08:00
parent 9b9a3f6211
commit 9c92a400fd
Vendored
+2 -1
View File
@@ -27,7 +27,8 @@ pipeline {
steps {
echo "清理旧依赖"
sh "rm -rf node_modules package-lock.json"
echo "✅ 从清华源安装缺失的 uts 二进制包"
sh "npm install @dcloudio/uts-linux-x64-gnu --force --registry=https://registry.npmmirror.com"
echo "✅ 安装 UniApp 依赖(忽略平台+开权限+强制)"
sh "npm install --force --unsafe-perm --ignore-platform"
}