提交jenkins自动化流水线
This commit is contained in:
+2
-2
@@ -26,8 +26,8 @@ pipeline {
|
||||
}
|
||||
stage('安装依赖') {
|
||||
steps {
|
||||
echo "✅ 从清华源安装缺失的 uts 二进制包"
|
||||
sh "npm install @dcloudio/uts-linux-x64-gnu --force --registry=https://registry.npmmirror.com"
|
||||
// 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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user