diff --git a/vars/draftset.groovy b/vars/draftset.groovy index 8ebd18f..afbe8bb 100644 --- a/vars/draftset.groovy +++ b/vars/draftset.groovy @@ -15,7 +15,9 @@ String pmd_api = "${PMD_API}" api.auth = "Basic " + pmd_api.bytes.encodeBase64() def ds = null + println "Fetching draftsets..." api.draftsetsGet(null, { result -> ds = result }, { status, reason -> throw new Exception(reason) }) + println ds.id return ds } \ No newline at end of file