Skip to content

Commit f445f1b

Browse files
bump clone checkout to 30m (#651)
1 parent 1bf7128 commit f445f1b

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

zorg/jenkins/common.groovy

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,19 @@ private def render_template(template_text, log_summary) {
2727
// is very space-intensive.
2828
private def clone_llvm_project(name, sha) {
2929
dir("pseudo-checkout-${name}") {
30-
checkout poll: false, changelog: true, scm: [
31-
$class: 'GitSCM',
32-
branches: [[name: sha ]],
33-
extensions: [[
34-
$class: 'CloneOption',
35-
reference: '/Users/Shared/llvm-project.git'
36-
]],
37-
userRemoteConfigs: [[url: 'https://github.com/llvm/llvm-project.git']]
38-
]
30+
retry(3) {
31+
checkout poll: false, changelog: true, scm: [
32+
$class: 'GitSCM',
33+
branches: [[name: sha ]],
34+
extensions: [
35+
[
36+
$class: 'CloneOption',
37+
timeout: 30
38+
]
39+
],
40+
userRemoteConfigs: [[url: 'https://github.com/llvm/llvm-project.git']]
41+
]
42+
}
3943
}
4044
}
4145

0 commit comments

Comments
 (0)