From dd1a2f3880fb775f3b79872044c48488bc45b58e Mon Sep 17 00:00:00 2001 From: Seth Carbon Date: Fri, 10 Jan 2025 14:26:16 -0800 Subject: [PATCH] trying a different way to make sure we have the loaded ontologies; for geneontology/go-fastapi#114 --- Jenkinsfile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1cf41d2..2bd3606 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -248,12 +248,19 @@ pipeline { // Compile models. sh 'mkdir -p jsonout' withEnv(['MINERVA_CLI_MEMORY=128G']){ + + // Cleaning. + sh 'rm -r -f blazegraph.jnl || true' + sh 'rm -r -f blazegraph-go-lego-reacto-neo.jnl || true' + // "Import" models. sh './bin/minerva-cli.sh --import-owl-models -f models -j blazegraph.jnl' // Get reacto. - sh 'wget -O go-lego-reacto.owl http://skyhook.berkeleybop.org/go-lego-reacto.owl' + sh 'wget -O blazegraph-go-lego-reacto-neo.jnl.gz http://skyhook.berkeleybop.org/blazegraph-go-lego-reacto-neo.jnl.gz' + sh 'gunzip blazegraph-go-lego-reacto-neo.jnl.gz' + // JSON out to directory. - sh './bin/minerva-cli.sh -g file:go-lego-reacto.owl --dump-owl-json --journal blazegraph.jnl --ontojournal blazegraph-go-lego-reacto-neo.jnl --folder jsonout' + sh './bin/minerva-cli.sh --dump-owl-json --journal blazegraph.jnl --ontojournal blazegraph-go-lego-reacto-neo.jnl --folder jsonout' } // Get into S3, cohabitating safely with TTL.