决绝windows260字符限制
This commit is contained in:
parent
2e3d58383b
commit
14c1c2e66b
@ -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']], // 分支名
|
||||
|
||||
@ -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']], // 分支名
|
||||
|
||||
@ -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']], // 分支名
|
||||
|
||||
Loading…
Reference in New Issue
Block a user