diff --git a/src/uk/org/floop/jenkins_pmd/Drafter.groovy b/src/uk/org/floop/jenkins_pmd/Drafter.groovy index b37a485..87241df 100644 --- a/src/uk/org/floop/jenkins_pmd/Drafter.groovy +++ b/src/uk/org/floop/jenkins_pmd/Drafter.groovy @@ -277,6 +277,11 @@ throw new DrafterException("Problem publishing draftset, maximum retries reached while waiting for lock.") } + def getDraftsetEndpoint(String id) { + String path = "/v1/draftset/${id}/query" + apiBase.resolve(path) + } + } @InheritConstructors