Debug sha/tags table
This commit is contained in:
parent
e72f006728
commit
bf4a42881b
1 changed files with 7 additions and 3 deletions
|
|
@ -106,6 +106,10 @@ class ProductParsed {
|
|||
}
|
||||
}
|
||||
|
||||
def String translateproductvariant(String productvariant) {
|
||||
|
||||
}
|
||||
|
||||
def ProductParsed addProductEntry(LinkedHashMap<String, ProductParsed> productcollection,
|
||||
String productvariant,
|
||||
String releaserepo) {
|
||||
|
|
@ -113,15 +117,15 @@ def ProductParsed addProductEntry(LinkedHashMap<String, ProductParsed> productco
|
|||
|
||||
if (productvariant && releaserepo) {
|
||||
if (productcollection.get(releaserepo) == null) { // Use the first entry name only
|
||||
echo "Adding product variant: ${productvariant} releaserepo: ${releaserepo}"
|
||||
echo "Adding product entry: releaserepo: ${releaserepo} (product variant: ${productvariant})"
|
||||
productparsed = new ProductParsed(productvariant)
|
||||
productcollection.put(releaserepo, productparsed)
|
||||
} else {
|
||||
echo "Already added product variant: ${productvariant}"
|
||||
echo "Already added product entry: releaserepo: ${releaserepo} (product variant: ${productvariant})"
|
||||
}
|
||||
productparsed = productcollection.get(releaserepo)
|
||||
} else {
|
||||
echo "Not adding product variant: ${productvariant} releaserepo: ${releaserepo}"
|
||||
echo "Not adding product entry: releaserepo: ${releaserepo} (product variant: ${productvariant})"
|
||||
}
|
||||
return productparsed
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue