Debugging script

This commit is contained in:
Dan Hawkins 2022-02-26 16:47:37 +00:00
commit caf71e38ce

View file

@ -103,8 +103,6 @@ class ProductParsed {
}
}
LinkedHashMap<String, ProductParsed> productscollection = new LinkedHashMap<String, ProductParsed>()
def addProductEntry(LinkedHashMap<String, ProductParsed> products,
String productvariant,
String releaserepo) {
@ -184,10 +182,11 @@ def parseproductrepo(LinkedHashMap<String, ProductParsed> products,
}
def iterateinitialproductrepos(initialproductcollection,
LinkedHashMap<String, ProductParsed> productcollection,
String productreleasefolder) {
for (productrepo in initialproductcollection.ProductReleaseRepos) {
echo "Querying ${productrepo}"
parseproductrepo(productscollection,
parseproductrepo(productcollection,
productrepo,
productreleasefolder)
}
@ -196,7 +195,7 @@ def iterateinitialproductrepos(initialproductcollection,
products.each { releaserepo, productparsed ->
if (!productparsed.parsed()) {
allparsed = false
parseproductrepo(productscollection,
parseproductrepo(productcollection,
releaserepo,
productreleasefolder)
}