fix: 修改 jenkins 配置

crsec
时启龙 2024-03-14 14:19:13 +08:00
parent 8402a11818
commit 20d1e2d7f0
1 changed files with 4 additions and 6 deletions

6
Jenkinsfile vendored
View File

@ -2,9 +2,7 @@
webPipeline([
onBuildInstallShell:{->
return """
npm install url-loader --userconfig ${env.NPM_CONFIG_USERCONFIG} --no-package-lock
pnpm install -no-frozen-lockfile
pnpm install --no-prefer-frozen-lockfile
pnpm run build || echo 'Ignore build error !!!'
"""
},
"""}
])