From 335be21c77b3826a0b3fe00748898949b2c85acc Mon Sep 17 00:00:00 2001 From: Seth Carbon Date: Tue, 25 Jun 2024 16:12:19 -0700 Subject: [PATCH] attempt to get a faster checkout for noctua-models for #378 --- Jenkinsfile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f8a4a53..44eea77 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -427,16 +427,21 @@ pipeline { // serve as input into into mega step. script { + // Attempt to fix + // https://github.com/geneontology/pipeline/issues/378 + // with even skinnier checkout. + sh "git clone -b $TARGET_NOCTUA_MODELS_BRANCH https://github.com/geneontology/go-site.git" + // Create a relative working directory and setup our // data environment. dir('./noctua-models') { - // Attempt to trim/prune/speed up - // noctua-models as we do for - // go-ontology for - // https://github.com/geneontology/pipeline/issues/278 - // . - checkout changelog: false, poll: false, scm: [$class: 'GitSCM', branches: [[name: TARGET_NOCTUA_MODELS_BRANCH]], extensions: [[$class: 'CloneOption', depth: 1, noTags: true, reference: '', shallow: true, timeout: 120]], userRemoteConfigs: [[url: 'https://github.com/geneontology/noctua-models.git', refspec: "+refs/heads/${env.TARGET_NOCTUA_MODELS_BRANCH}:refs/remotes/origin/${env.TARGET_NOCTUA_MODELS_BRANCH}"]]] + // // Attempt to trim/prune/speed up + // // noctua-models as we do for + // // go-ontology for + // // https://github.com/geneontology/pipeline/issues/278 + // // . + //checkout changelog: false, poll: false, scm: [$class: 'GitSCM', branches: [[name: TARGET_NOCTUA_MODELS_BRANCH]], extensions: [[$class: 'CloneOption', depth: 1, noTags: true, reference: '', shallow: true, timeout: 120]], userRemoteConfigs: [[url: 'https://github.com/geneontology/noctua-models.git', refspec: "+refs/heads/${env.TARGET_NOCTUA_MODELS_BRANCH}:refs/remotes/origin/${env.TARGET_NOCTUA_MODELS_BRANCH}"]]] // Make all software products // available in bin/ (and lib/).