Help the meta walker find the meta data for a child
This commit is contained in:
parent
d945efb8b7
commit
f554d5bd6c
1 changed files with 2 additions and 2 deletions
|
|
@ -342,12 +342,12 @@ def artifactimport(meta,
|
|||
}
|
||||
|
||||
// Import the artifacts of a named child component found below parent meta's hierarchy
|
||||
def artifactimport(meta, parentmeta, String childproduct, String childsubcomponent, importoptions, String destinationfolder) {
|
||||
def artifactimport(meta, parentmeta, String parentmetapath, String childproduct, String childsubcomponent, importoptions, String destinationfolder) {
|
||||
// Import from parent meta
|
||||
def childmeta = meta.getNewMetaObject()
|
||||
def childmeta2
|
||||
echo "Finding meta associated with child: Product: ${childproduct} Sub-component: ${childsubcomponent}"
|
||||
def findresults = parentmeta.findAssociatedMeta(childproduct, childsubcomponent)
|
||||
def findresults = parentmeta.findAssociatedMeta(parentmetapath, childproduct, childsubcomponent)
|
||||
if (findresults.matchfound) {
|
||||
childmeta = findresults.matchedmeta
|
||||
if (childmeta.releaseinfo.released) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue