fix: 修改 jenkins 配置
parent
8402a11818
commit
20d1e2d7f0
|
@ -1,10 +1,8 @@
|
|||
@Library('jgpl') _
|
||||
webPipeline([
|
||||
onBuildInstallShell:{->
|
||||
return """
|
||||
npm install url-loader --userconfig ${env.NPM_CONFIG_USERCONFIG} --no-package-lock
|
||||
pnpm install -no-frozen-lockfile
|
||||
pnpm run build || echo 'Ignore build error !!!'
|
||||
"""
|
||||
},
|
||||
return """
|
||||
pnpm install --no-prefer-frozen-lockfile
|
||||
pnpm run build || echo 'Ignore build error !!!'
|
||||
"""}
|
||||
])
|
Loading…
Reference in New Issue