diff --git a/vars/uploadCodelist.groovy b/vars/uploadCodelist.groovy index 4e1c5db..b4134ee 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']],