From 13d18db21eea792bf95b2fad722e8c24a0f620c6 Mon Sep 17 00:00:00 2001 From: Seth Carbon Date: Sun, 26 Apr 2020 12:32:03 -0700 Subject: [PATCH] another tuninf for issue #35 --- Jenkinsfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0588950..acbbe97 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -67,6 +67,7 @@ pipeline { //"http://purl.obolibrary.org/obo/go/extensions/go-taxon-subsets.owl" //"http://skyhook.berkeleybop.org/issue-35-neo-test/ontology/neo.owl" "http://skyhook.berkeleybop.org/issue-35-neo-test/ontology/extensions/go-lego.owl" + "http://skyhook.berkeleybop.org/issue-35-neo-test/ontology/neo.owl" ].join(" ") } options{ @@ -333,7 +334,8 @@ pipeline { sh 'curl -L -o /tmp/blazegraph.jar https://github.com/blazegraph/database/releases/download/BLAZEGRAPH_2_1_6_RC/blazegraph.jar' sh 'curl -L -o /tmp/blazegraph.properties https://raw.githubusercontent.com/geneontology/minerva/master/minerva-core/src/main/resources/org/geneontology/minerva/blazegraph.properties' sh 'curl -L -o /tmp/go-lego.owl http://skyhook.berkeleybop.org/$BRANCH_NAME/ontology/extensions/go-lego.owl' - // BUG/TODO: This will need to point inward. + sh 'curl -L -o /tmp/neo.owl skyhook@skyhook.berkeleybop.org:/home/skyhook/$BRANCH_NAME/ontology/neo.owl' + // BUG/TODO: This will need to point inward at some point. sh 'curl -L -o /tmp/reacto.owl http://snapshot.geneontology.org/ontology/extensions/reacto.owl' // WARNING: Having trouble getting the journal to the // right location. Theoretically, if the pipeline @@ -342,16 +344,17 @@ pipeline { sh 'java -cp /tmp/blazegraph.jar com.bigdata.rdf.store.DataLoader -defaultGraph http://example.org /tmp/blazegraph.properties /tmp/go-lego.owl' sh 'cp blazegraph.jnl /tmp/blazegraph-go-lego.jnl' sh 'java -cp /tmp/blazegraph.jar com.bigdata.rdf.store.DataLoader -defaultGraph http://example.org /tmp/blazegraph.properties /tmp/reacto.owl' - sh 'mv blazegraph.jnl /tmp/blazegraph-go-lego-with-reacto.jnl' + sh 'java -cp /tmp/blazegraph.jar com.bigdata.rdf.store.DataLoader -defaultGraph http://example.org /tmp/blazegraph.properties /tmp/neo.owl' + sh 'mv blazegraph.jnl /tmp/blazegraph-go-lego-reacto-neo.jnl' sh 'pigz /tmp/blazegraph-go-lego.jnl' - sh 'pigz /tmp/blazegraph-go-lego-with-reacto.jnl' + sh 'pigz /tmp/blazegraph-go-lego-reacto-neo.jnl' withCredentials([file(credentialsId: 'skyhook-private-key', variable: 'SKYHOOK_IDENTITY')]) { // Copy over journal. sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/blazegraph-go-lego.jnl.gz skyhook@skyhook.berkeleybop.org:/home/skyhook/$BRANCH_NAME/products/blazegraph/blazegraph-go-lego.jnl.gz' - sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/blazegraph-go-lego-with-reacto.jnl.gz skyhook@skyhook.berkeleybop.org:/home/skyhook/$BRANCH_NAME/products/blazegraph/blazegraph-go-lego-with-reacto.jnl.gz' + sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/blazegraph-go-lego-reacto-neo.jnl.gz skyhook@skyhook.berkeleybop.org:/home/skyhook/$BRANCH_NAME/products/blazegraph/blazegraph-go-lego-reacto-neo.jnl.gz' // DANGEROUS! WARNING/TODO: Copy over to temporary holding location for ShEx. Pseudo-publish. sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/blazegraph-go-lego.jnl.gz skyhook@skyhook.berkeleybop.org:/home/skyhook/blazegraph-go-lego.jnl.gz' - sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/blazegraph-go-lego-with-reacto.jnl.gz skyhook@skyhook.berkeleybop.org:/home/skyhook/blazegraph-go-lego-with-reacto.jnl.gz' + sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o IdentityFile=$SKYHOOK_IDENTITY" /tmp/blazegraph-go-lego-reacto-neo.jnl.gz skyhook@skyhook.berkeleybop.org:/home/skyhook/blazegraph-go-lego-reacto-neo.jnl.gz' } } }