diff --git a/Jenkinsfile b/Jenkinsfile index 7c9103d2..4610542d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" }