diff --git a/vars/uploadDraftset.groovy b/vars/uploadDraftset.groovy index ce960b1..2963263 100644 --- a/vars/uploadDraftset.groovy +++ b/vars/uploadDraftset.groovy @@ -10,7 +10,7 @@ drafter.deleteDraftset(PMD, credentials, jobDraft.id) } def newJobDraft = drafter.createDraftset(PMD, credentials, env.JOB_NAME) - String datasetPath = datasetLabel + String datasetPath = datasetLabel.toLowerCase() .replaceAll('[^\\w/]', '-') .replaceAll('-+', '-') .replaceAll('-\$', '')