Skip to content

Commit

Permalink
add a little debugging and an additional accelerator; for #378
Browse files Browse the repository at this point in the history
  • Loading branch information
kltm committed Jun 26, 2024
1 parent 335be21 commit 3918803
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -430,11 +430,15 @@ pipeline {
// Attempt to fix
// https://github.com/geneontology/pipeline/issues/378
// with even skinnier checkout.
sh "ls -AlFrt"
sh "echo 'noctua-models'"
sh "git clone -b $TARGET_NOCTUA_MODELS_BRANCH https://github.com/geneontology/go-site.git"
sh "ls -AlFrt"

// Create a relative working directory and setup our
// data environment.
dir('./noctua-models') {
sh "ls -AlFrt"

// // Attempt to trim/prune/speed up
// // noctua-models as we do for
Expand Down Expand Up @@ -485,16 +489,25 @@ pipeline {
// serve as input into into mega step.
script {

// Attempt to fix
// https://github.com/geneontology/pipeline/issues/378
// with even skinnier checkout.
sh "ls -AlFrt"
sh "echo 'json-noctua-models'"
sh "git clone -b $TARGET_NOCTUA_MODELS_BRANCH https://github.com/geneontology/go-site.git json-noctua-models"
sh "ls -AlFrt"

// Create a relative working directory and setup our
// data environment.
dir('./json-noctua-models') {
sh "ls -AlFrt"

// 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 3918803

Please sign in to comment.