Update the code to fix
DOCS/docs.isharkfly.com/pipeline/head There was a failure building this commit
DOCS/docs.isharkfly.com/pipeline/head There was a failure building this commit
This commit is contained in:
Vendored
+11
-3
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user