决绝windows260字符限制

This commit is contained in:
zhang hongbo 2026-02-02 12:47:12 +08:00
parent 2e3d58383b
commit 14c1c2e66b
3 changed files with 12 additions and 0 deletions

View File

@ -25,6 +25,10 @@ def call(Map config)
}
steps
{
script {
// Git Windows 260
bat 'git config --global core.longpaths true'
}
checkout([
$class: 'GitSCM',
branches: [[name: '*/main']], //

View File

@ -25,6 +25,10 @@ def call(Map config)
}
steps
{
script {
// Git Windows 260
bat 'git config --global core.longpaths true'
}
checkout([
$class: 'GitSCM',
branches: [[name: '*/USA']], //

View File

@ -25,6 +25,10 @@ def call(Map config)
}
steps
{
script {
// Git Windows 260
bat 'git config --global core.longpaths true'
}
checkout([
$class: 'GitSCM',
branches: [[name: '*/QA']], //