Add getDraftsetEndpoint
1 parent d304a5a commit 7eda5c2f5f1a251462cd0a2820b201263fd36e11
@Alex Tucker Alex Tucker authored on 15 Mar 2019
Showing 1 changed file
View
5
src/uk/org/floop/jenkins_pmd/Drafter.groovy
}
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
class DrafterException extends Exception { }