-
Bug
-
Resolution: Not A Defect
-
Minor
-
Jenkins 2.33
The option CheckoutOption timeout has no effect.
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CheckoutOption', timeout: 60]], submoduleCfg: [], userRemoteConfigs: [[url: 'file:////Foo/bar/.git']]])
Log output:
[Pipeline] { (Checkout) [Pipeline] checkout > git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git.exe config remote.origin.url file:////Foo/Bar/.git # timeout=10 Fetching upstream changes from file:////Foo/Bar/.git > git.exe --version # timeout=10 > git.exe fetch --tags --progress file:////Foo/Bar/.git +refs/heads/*:refs/remotes/origin/* ERROR: Timeout after 10 minutes
[JENKINS-40069] git timeout option has no effect
Description |
Original:
Die Option CheckoutOption *timeout* has no effect. {code:java} checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CheckoutOption', timeout: 60]], submoduleCfg: [], userRemoteConfigs: [[url: 'file:////Foo/bar/.git']]]) {code} Log output: {code:java} [Pipeline] { (Checkout) [Pipeline] checkout > git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git.exe config remote.origin.url file:////Foo/Bar/.git # timeout=10 Fetching upstream changes from file:////Foo/Bar/.git > git.exe --version # timeout=10 > git.exe fetch --tags --progress file:////Foo/Bar/.git +refs/heads/*:refs/remotes/origin/* ERROR: Timeout after 10 minutes {code} |
New:
The option CheckoutOption *timeout* has no effect. {code:java} checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CheckoutOption', timeout: 60]], submoduleCfg: [], userRemoteConfigs: [[url: 'file:////Foo/bar/.git']]]) {code} Log output: {code:java} [Pipeline] { (Checkout) [Pipeline] checkout > git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git.exe config remote.origin.url file:////Foo/Bar/.git # timeout=10 Fetching upstream changes from file:////Foo/Bar/.git > git.exe --version # timeout=10 > git.exe fetch --tags --progress file:////Foo/Bar/.git +refs/heads/*:refs/remotes/origin/* ERROR: Timeout after 10 minutes {code} |
Attachment | New: clone-option-controls-fetch-timeout.JPG [ 35006 ] |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |