Update the code to fix
DOCS/docs.isharkfly.com/pipeline/head There was a failure building this commit

This commit is contained in:
YuCheng Hu
2026-09-14 15:26:50 -04:00
parent c3670150e1
commit 7a10e71203
Vendored
+11 -3
View File
@@ -38,9 +38,17 @@ pipeline {
script {
// This command should run on the agent to configure the git environment
sh 'git config --global url."https://github.com/".insteadOf git://github.com/'
sh 'corepack enable'
sh 'corepack prepare [email protected] --activate'
sh 'pnpm --version'
sh '''
node --version
corepack --version
rm -rf "$HOME/.cache/node/corepack"
corepack enable
corepack prepare [email protected] --activate
pnpm --version
'''
}
// git branch: 'main',
// credentialsId: 'c9d0ec7c-0749-4588-8960-e96cab84d462',