Index: zorg/jenkins/common.groovy =================================================================== --- zorg/jenkins/common.groovy +++ zorg/jenkins/common.groovy @@ -30,7 +30,11 @@ checkout poll: false, changelog: true, scm: [ $class: 'GitSCM', branches: [[name: sha ]], - userRemoteConfigs: [[url: 'http://labmaster3.local/git/llvm-project.git']] + extensions: [[ + $class: 'CloneOption', + reference: '/Users/Shared/llvm-project.git' + ]], + userRemoteConfigs: [[url: 'https://github.com/llvm/llvm-project.git']] ] } } Index: zorg/jenkins/jobs/jobs/clang-stage1-RA =================================================================== --- zorg/jenkins/jobs/jobs/clang-stage1-RA +++ zorg/jenkins/jobs/jobs/clang-stage1-RA @@ -9,10 +9,24 @@ stage('Checkout') { steps { dir('llvm-project') { - checkout([$class: 'GitSCM', branches: [[name: params.GIT_REVISION]], userRemoteConfigs: [[url: 'https://github.com/llvm/llvm-project.git']]]) + checkout([$class: 'GitSCM', branches: [ + [name: params.GIT_REVISION] + ], extensions: [ + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-project.git'] + ], userRemoteConfigs: [ + [url: 'https://github.com/llvm/llvm-project.git'] + ]]) } dir('llvm-zorg') { - checkout([$class: 'GitSCM', branches: [[name: '*/main']], userRemoteConfigs: [[url: 'https://github.com/llvm/llvm-zorg.git']]]) + checkout([$class: 'GitSCM', branches: [ + [name: '*/main'] + ], extensions: [ + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-zorg.git'] + ], userRemoteConfigs: [ + [url: 'https://github.com/llvm/llvm-zorg.git'] + ]]) } } } Index: zorg/jenkins/jobs/jobs/clang-stage1-cmake-RA-incremental =================================================================== --- zorg/jenkins/jobs/jobs/clang-stage1-cmake-RA-incremental +++ zorg/jenkins/jobs/jobs/clang-stage1-cmake-RA-incremental @@ -9,10 +9,24 @@ stage('Checkout') { steps { dir('llvm-project') { - checkout([$class: 'GitSCM', branches: [[name: params.GIT_REVISION]], userRemoteConfigs: [[url: 'https://github.com/llvm/llvm-project.git']]]) + checkout([$class: 'GitSCM', branches: [ + [name: params.GIT_REVISION] + ], extensions: [ + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-project.git'] + ], userRemoteConfigs: [ + [url: 'https://github.com/llvm/llvm-project.git'] + ]]) } dir('llvm-zorg') { - checkout([$class: 'GitSCM', branches: [[name: '*/main']], userRemoteConfigs: [[url: 'https://github.com/llvm/llvm-zorg.git']]]) + checkout([$class: 'GitSCM', branches: [ + [name: '*/main'] + ], extensions: [ + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-zorg.git'] + ], userRemoteConfigs: [ + [url: 'https://github.com/llvm/llvm-zorg.git'] + ]]) } } } Index: zorg/jenkins/jobs/jobs/clang-stage2-Rthinlto =================================================================== --- zorg/jenkins/jobs/jobs/clang-stage2-Rthinlto +++ zorg/jenkins/jobs/jobs/clang-stage2-Rthinlto @@ -12,10 +12,24 @@ stage('Checkout') { steps { dir('llvm-project') { - checkout([$class: 'GitSCM', branches: [[name: params.GIT_SHA]], userRemoteConfigs: [[url: 'https://github.com/llvm/llvm-project.git']]]) + checkout([$class: 'GitSCM', branches: [ + [name: params.GIT_SHA] + ], extensions: [ + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-project.git'] + ], userRemoteConfigs: [ + [url: 'https://github.com/llvm/llvm-project.git'] + ]]) } dir('llvm-zorg') { - checkout([$class: 'GitSCM', branches: [[name: '*/main']], userRemoteConfigs: [[url: 'https://github.com/llvm/llvm-zorg.git']]]) + checkout([$class: 'GitSCM', branches: [ + [name: '*/main'] + ], extensions: [ + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-zorg.git'] + ], userRemoteConfigs: [ + [url: 'https://github.com/llvm/llvm-zorg.git'] + ]]) } } } Index: zorg/jenkins/jobs/jobs/lldb-cmake =================================================================== --- zorg/jenkins/jobs/jobs/lldb-cmake +++ zorg/jenkins/jobs/jobs/lldb-cmake @@ -15,16 +15,21 @@ checkout([$class: 'GitSCM', branches: [ [name: params.GIT_SHA] ], userRemoteConfigs: [ - [url: 'http://labmaster3.local/git/llvm-project.git'] + [url: 'https://github.com/llvm/llvm-project.git'] ], extensions: [ - [$class: 'CloneOption', noTags: true, timeout: 30] + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-project.git', + noTags: true, timeout: 30] ]]) } dir('llvm-zorg') { checkout([$class: 'GitSCM', branches: [ [name: '*/main'] ], userRemoteConfigs: [ - [url: 'http://labmaster3.local/git/llvm-zorg.git'] + [url: 'https://github.com/llvm/llvm-zorg.git'] + ], extensions: [ + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-zorg.git'] ]]) } } Index: zorg/jenkins/jobs/jobs/lldb-cmake-matrix =================================================================== --- zorg/jenkins/jobs/jobs/lldb-cmake-matrix +++ zorg/jenkins/jobs/jobs/lldb-cmake-matrix @@ -19,16 +19,21 @@ checkout([$class: 'GitSCM', branches: [ [name: params.GIT_SHA] ], userRemoteConfigs: [ - [url: 'http://labmaster3.local/git/llvm-project.git'] + [url: 'https://github.com/llvm/llvm-project.git'] ], extensions: [ - [$class: 'CloneOption', noTags: true, timeout: 30] + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-project.git', + noTags: true, timeout: 30] ]]) } dir('llvm-zorg') { checkout([$class: 'GitSCM', branches: [ [name: '*/main'] ], userRemoteConfigs: [ - [url: 'http://labmaster3.local/git/llvm-zorg.git'] + [url: 'https://github.com/llvm/llvm-zorg.git'] + ], extensions: [ + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-zorg.git'] ]]) } } @@ -181,9 +186,10 @@ checkout([$class: 'GitSCM', branches: [ [name: "llvmorg-5.0.2"] ], userRemoteConfigs: [ - [url: 'http://labmaster3.local/git/llvm-project.git'] + [url: 'https://github.com/llvm/llvm-project.git'] ], extensions: [ - [$class: 'CloneOption', timeout: 30] + [$class: 'CloneOption', timeout: 30, + reference: '/Users/Shared/llvm-project.git'] ]]) } } @@ -242,9 +248,10 @@ checkout([$class: 'GitSCM', branches: [ [name: "llvmorg-7.0.1"] ], userRemoteConfigs: [ - [url: 'http://labmaster3.local/git/llvm-project.git'] + [url: 'https://github.com/llvm/llvm-project.git'] ], extensions: [ - [$class: 'CloneOption', timeout: 30] + [$class: 'CloneOption', timeout: 30, + reference: '/Users/Shared/llvm-project.git'] ]]) } } @@ -303,9 +310,10 @@ checkout([$class: 'GitSCM', branches: [ [name: "llvmorg-9.0.0"] ], userRemoteConfigs: [ - [url: 'http://labmaster3.local/git/llvm-project.git'] + [url: 'https://github.com/llvm/llvm-project.git'] ], extensions: [ - [$class: 'CloneOption', timeout: 30] + [$class: 'CloneOption', timeout: 30, + reference: '/Users/Shared/llvm-project.git'] ]]) } } @@ -364,9 +372,10 @@ checkout([$class: 'GitSCM', branches: [ [name: "llvmorg-11.0.1"] ], userRemoteConfigs: [ - [url: 'http://labmaster3.local/git/llvm-project.git'] + [url: 'https://github.com/llvm/llvm-project.git'] ], extensions: [ - [$class: 'CloneOption', timeout: 30] + [$class: 'CloneOption', timeout: 30, + reference: '/Users/Shared/llvm-project.git'] ]]) } } @@ -425,9 +434,10 @@ checkout([$class: 'GitSCM', branches: [ [name: "llvmorg-13.0.0"] ], userRemoteConfigs: [ - [url: 'http://labmaster3.local/git/llvm-project.git'] + [url: 'https://github.com/llvm/llvm-project.git'] ], extensions: [ - [$class: 'CloneOption', timeout: 30] + [$class: 'CloneOption', timeout: 30, + reference: '/Users/Shared/llvm-project.git'] ]]) } } Index: zorg/jenkins/jobs/jobs/lldb-cmake-sanitized =================================================================== --- zorg/jenkins/jobs/jobs/lldb-cmake-sanitized +++ zorg/jenkins/jobs/jobs/lldb-cmake-sanitized @@ -15,16 +15,21 @@ checkout([$class: 'GitSCM', branches: [ [name: params.GIT_SHA] ], userRemoteConfigs: [ - [url: 'http://labmaster3.local/git/llvm-project.git'] + [url: 'https://github.com/llvm/llvm-project.git'] ], extensions: [ - [$class: 'CloneOption', noTags: true, timeout: 30] + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-project.git', + noTags: true, timeout: 30] ]]) } dir('llvm-zorg') { checkout([$class: 'GitSCM', branches: [ [name: '*/main'] ], userRemoteConfigs: [ - [url: 'http://labmaster3.local/git/llvm-zorg.git'] + [url: 'https://github.com/llvm/llvm-zorg.git'] + ], extensions: [ + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-zorg.git'] ]]) } } Index: zorg/jenkins/jobs/jobs/lldb-cmake-standalone =================================================================== --- zorg/jenkins/jobs/jobs/lldb-cmake-standalone +++ zorg/jenkins/jobs/jobs/lldb-cmake-standalone @@ -15,16 +15,21 @@ checkout([$class: 'GitSCM', branches: [ [name: params.GIT_SHA] ], userRemoteConfigs: [ - [url: 'http://labmaster3.local/git/llvm-project.git'] + [url: 'https://github.com/llvm/llvm-project.git'] ], extensions: [ - [$class: 'CloneOption', noTags: true, timeout: 30] + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-project.git', + noTags: true, timeout: 30] ]]) } dir('llvm-zorg') { checkout([$class: 'GitSCM', branches: [ [name: '*/main'] ], userRemoteConfigs: [ - [url: 'http://labmaster3.local/git/llvm-zorg.git'] + [url: 'https://github.com/llvm/llvm-zorg.git'] + ], extensions: [ + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-zorg.git'] ]]) } } Index: zorg/jenkins/jobs/jobs/llvm-coverage =================================================================== --- zorg/jenkins/jobs/jobs/llvm-coverage +++ zorg/jenkins/jobs/jobs/llvm-coverage @@ -13,10 +13,24 @@ stage('Checkout') { steps { dir('llvm-project') { - checkout([$class: 'GitSCM', branches: [[name: params.GIT_REVISION]], userRemoteConfigs: [[url: 'http://labmaster3.local/git/llvm-project.git']]]) + checkout([$class: 'GitSCM', branches: [ + [name: params.GIT_REVISION] + ], extensions: [ + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-project.git'] + ], userRemoteConfigs: [ + [url: 'https://github.com/llvm/llvm-project.git'] + ]]) } dir('llvm-zorg') { - checkout([$class: 'GitSCM', branches: [[name: '*/main']], userRemoteConfigs: [[url: 'http://labmaster3.local/git/llvm-zorg.git']]]) + checkout([$class: 'GitSCM', branches: [ + [name: '*/main'] + ], extensions: [ + [$class: 'CloneOption', + reference: '/Users/Shared/llvm-zorg.git'] + ], userRemoteConfigs: [ + [url: 'https://github.com/llvm/llvm-zorg.git'] + ]]) } } }