File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,19 @@ private def render_template(template_text, log_summary) {
2727// is very space-intensive.
2828private 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
You can’t perform that action at this time.
0 commit comments