diff --git a/publish/packagecollection.groovy b/publish/packagecollection.groovy index 717487b..1ad8773 100644 --- a/publish/packagecollection.groovy +++ b/publish/packagecollection.groovy @@ -33,7 +33,7 @@ def boolean packagecollection_exists() { def packagecollection_set(String jsontext) { packagecollection = readJSON(text: jsontext) - echo "Package collection info:\n${asJsonText(packagecollection)}" + echo "Package collection info:\n${asJsonText(packagecollection)}\nType:\n${packagecollection.getClass()}" } def packagecollection_get() { @@ -71,7 +71,7 @@ pipeline { debpackagecollection = packagecollection_get() for (packagekey in debpackagecollection['packages'].keySet()) { - def debpackageinfo = debpackagecollection[packagekey] + def debpackageinfo = debpackagecollection['packages'][packagekey] echo "Processing package: ${packagekey}\n${debpackageinfo}" def packagedest = "${PACKAGEDEST}/${packagekey}"