diff --git a/zorg/jenkins/common.groovy b/zorg/jenkins/common.groovy --- a/zorg/jenkins/common.groovy +++ b/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']] ] } } diff --git a/zorg/jenkins/jobs/jobs/clang-stage1-RA b/zorg/jenkins/jobs/jobs/clang-stage1-RA --- a/zorg/jenkins/jobs/jobs/clang-stage1-RA +++ b/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'] + ]]) } } } diff --git a/zorg/jenkins/jobs/jobs/clang-stage1-cmake-RA-incremental b/zorg/jenkins/jobs/jobs/clang-stage1-cmake-RA-incremental --- a/zorg/jenkins/jobs/jobs/clang-stage1-cmake-RA-incremental +++ b/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'] + ]]) } } } diff --git a/zorg/jenkins/jobs/jobs/clang-stage2-Rthinlto b/zorg/jenkins/jobs/jobs/clang-stage2-Rthinlto --- a/zorg/jenkins/jobs/jobs/clang-stage2-Rthinlto +++ b/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'] + ]]) } } } diff --git a/zorg/jenkins/jobs/jobs/lldb-cmake b/zorg/jenkins/jobs/jobs/lldb-cmake --- a/zorg/jenkins/jobs/jobs/lldb-cmake +++ b/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'] ]]) } } diff --git a/zorg/jenkins/jobs/jobs/lldb-cmake-matrix b/zorg/jenkins/jobs/jobs/lldb-cmake-matrix --- a/zorg/jenkins/jobs/jobs/lldb-cmake-matrix +++ b/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'] ]]) } } @@ -185,9 +190,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'] ]]) } } @@ -246,9 +252,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'] ]]) } } @@ -307,9 +314,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'] ]]) } } @@ -368,9 +376,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'] ]]) } } @@ -429,9 +438,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'] ]]) } } diff --git a/zorg/jenkins/jobs/jobs/lldb-cmake-sanitized b/zorg/jenkins/jobs/jobs/lldb-cmake-sanitized --- a/zorg/jenkins/jobs/jobs/lldb-cmake-sanitized +++ b/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'] ]]) } } diff --git a/zorg/jenkins/jobs/jobs/lldb-cmake-standalone b/zorg/jenkins/jobs/jobs/lldb-cmake-standalone --- a/zorg/jenkins/jobs/jobs/lldb-cmake-standalone +++ b/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'] ]]) } } diff --git a/zorg/jenkins/jobs/jobs/llvm-coverage b/zorg/jenkins/jobs/jobs/llvm-coverage --- a/zorg/jenkins/jobs/jobs/llvm-coverage +++ b/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'] + ]]) } } }