Debugging script

This commit is contained in:
Dan Hawkins 2022-02-26 16:40:31 +00:00
commit c993ecc75b

View file

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