Debug sha/tags table
This commit is contained in:
parent
da33b16cdf
commit
390c97c87b
2 changed files with 11 additions and 4 deletions
|
|
@ -1103,7 +1103,7 @@ class MetaInfo extends GISJsonSerialised {
|
|||
def ArrayList<CollectedMeta> metacollection = new ArrayList<CollectedMeta>()
|
||||
def Map<String, CollectedMeta> metamap = new LinkedHashMap<String, CollectedMeta>()
|
||||
def IterationInfo ii = new IterationInfo(metacollection, metamap, 'meta', 0, startpath, startmetapath, true, maxdepth)
|
||||
script.echo("Release walker iteration info at start:\n${ii.show()}")
|
||||
//script.echo("Release walker iteration info at start:\n${ii.show()}")
|
||||
def results = walkrelated(ii)
|
||||
return results.metacollection
|
||||
}
|
||||
|
|
|
|||
|
|
@ -181,9 +181,16 @@ def parseproductrepo(LinkedHashMap<String, ProductParsed> productcollection,
|
|||
shatagmap.each { sha, tags ->
|
||||
echo "Sha: ${sha} has tags: ${tags}"
|
||||
dir(productreleasefolder) {
|
||||
sh """#!/bin/bash
|
||||
git checkout ${sha}
|
||||
"""
|
||||
def returnstatus = sh( script: """#!/bin/bash
|
||||
git checkout ${sha}
|
||||
""",
|
||||
returnStatus: true)
|
||||
echo "returnstatus: ${returnstatus}"
|
||||
if (returnstatus > 0) {
|
||||
dir('meta') {
|
||||
deleteDir()
|
||||
}
|
||||
}
|
||||
}
|
||||
def productreleasemeta = meta.importrelated(false, productreleasefolder)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue