Correct hierarchical import of artifacts from release repositories
This commit is contained in:
parent
b365f5b418
commit
00afcebd3d
2 changed files with 4 additions and 1 deletions
|
|
@ -202,6 +202,9 @@ def hierarchyartifactimportfromrepo(meta, importoptions, String destpath) {
|
|||
|
||||
echo "Getting associated metadata from path: ${destpath}"
|
||||
def collectedmetalist = importedmeta.getassociated(destpath)
|
||||
for(def collectedmeta in collectedmetalist) {
|
||||
echo "Collection meta item: ${collectedmeta.metainfo.componentversionuniqueidentifier()} offset path: ${collectedmeta.accumulatedpath}"
|
||||
}
|
||||
|
||||
echo "Cloning associated repos inside path: ${destpath}"
|
||||
for(def collectedmeta in collectedmetalist) {
|
||||
|
|
|
|||
|
|
@ -1095,7 +1095,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 interation info at start:\n${ii.show()}")
|
||||
script.echo("Release walker iteration info at start:\n${ii.show()}")
|
||||
def results = walkrelated(ii)
|
||||
return results.metacollection
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue