SPARQL tests need union-with-live=true
1 parent 7c9c4e9 commit 806951bf2ee882eb722ed68d14041b7f0e928fea
@Alex Tucker Alex Tucker authored on 18 Mar 2019
Showing 1 changed file
View
2
■■■
vars/transformPipeline.groovy
String endpoint = pmd.drafter.getDraftsetEndpoint(draftId)
String dspath = util.slugise(env.JOB_NAME)
String dsgraph = "${pmd.config.base_uri}/graph/${dspath}"
withCredentials([usernamePassword(credentialsId: pmd.config.credentials, usernameVariable: 'USER', passwordVariable: 'PASS')]) {
sh "sparql-test-runner -t /usr/local/tests -s ${endpoint} -a '${USER}:${PASS}' -p \"dsgraph=<${dsgraph}>\""
sh "sparql-test-runner -t /usr/local/tests -s ${endpoint}?union-with-live=true -a '${USER}:${PASS}' -p \"dsgraph=<${dsgraph}>\""
}
}
}
}