diff --git a/vars/uploadDraftset.groovy b/vars/uploadDraftset.groovy index ac168bc..6a89949 100644 --- a/vars/uploadDraftset.groovy +++ b/vars/uploadDraftset.groovy @@ -25,7 +25,7 @@ if (!datasetPath) { datasetPath = util.slugise(datasetLabel) } - dataset.delete(datasetLabel) + dataset.delete(datasetPath) drafter.addData(PMD, credentials, newJobDraft.id, readFile("out/dataset.trig"), "application/trig;charset=UTF-8")