Alter path to start finding
This commit is contained in:
parent
af70f7e083
commit
4b3e84c72d
2 changed files with 2 additions and 2 deletions
|
|
@ -347,7 +347,7 @@ def artifactimport(meta, parentmeta, String parentmetapath, String childproduct,
|
|||
def childmeta = meta.getNewMetaObject()
|
||||
def childmeta2
|
||||
echo "Finding meta associated with child: Product: ${childproduct} Sub-component: ${childsubcomponent}"
|
||||
echo "From Parent meta identifier: ${parentmeta.componentidentifier()} and parent meta path: ${parentmetapath}"
|
||||
echo "From parent meta identifier: ${parentmeta.componentidentifier()} and parent meta path: ${parentmetapath}"
|
||||
def findresults = parentmeta.findAssociatedMeta(parentmetapath, childproduct, childsubcomponent)
|
||||
if (findresults.matchfound) {
|
||||
childmeta = findresults.matchedmetaitem.metainfo
|
||||
|
|
|
|||
|
|
@ -1080,7 +1080,7 @@ class MetaInfo extends GISJsonSerialised {
|
|||
'matchedmetaitem' : new CollectedMeta(this),
|
||||
'matchfound' : false
|
||||
]
|
||||
def walkresults = allrelatedmeta(parentmetapath)
|
||||
def walkresults = allrelatedmeta("${parentmetapath}/${METAFOLDERNAME}")
|
||||
for (dependentmetaitem in walkresults.metacollection) {
|
||||
script.echo("Comparing: ${dependentmetaitem.metainfo.productinfo.productname} ${dependentmetaitem.metainfo.productinfo.subcomponentname}")
|
||||
if (dependentmetaitem.metainfo.productinfo.productname == productname &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue