diff --git a/vars/uploadCodelist.groovy b/vars/uploadCodelist.groovy index 1ddc6a6..b7c536c 100644 --- a/vars/uploadCodelist.groovy +++ b/vars/uploadCodelist.groovy @@ -8,6 +8,9 @@ def draft = jobDraft.find() + string codelistGraph = "${baseURI}/graph/${util.slugise(name)}" + drafter.deleteGraph(PMD, credentials, draft.id, codelistGraph) + runPipeline("${PIPELINE}/ons-table2qb.core/codelist/import", draft.id, credentials, [[name: 'codelist-csv', file: [name: csv, type: 'text/csv']],