Skip to content

Commit

Permalink
attempt to get a faster checkout for noctua-models for #378
Browse files Browse the repository at this point in the history
  • Loading branch information
kltm committed Jun 25, 2024
1 parent f2912ba commit 335be21
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
Expand Down

0 comments on commit 335be21

Please sign in to comment.