Don't attempt to import artifacts associated with components that do not have complete meta
This commit is contained in:
parent
9b89c0f629
commit
5575f2bd18
1 changed files with 1 additions and 2 deletions
|
|
@ -239,8 +239,7 @@ def hierarchyartifactimportfromrepo(meta, ImportOptions importoptions, String de
|
|||
def cloneurl = relatedmeta.releaseinfo.releaserepoURL
|
||||
def clonerevision = "refs/tags/${relatedmeta.releasetag()}"
|
||||
def clonepath = "${destpath}/${relatedoffsetpath}"
|
||||
if (relatedmeta.componentidentifier() != '___' &&
|
||||
relatedmeta.componentidentifier() != '_' &&
|
||||
if (relatedmeta.componentidentifier() != '_' &&
|
||||
cloneurl != '') {
|
||||
echo "Cloning release repo: ${cloneurl}, revision: ${clonerevision} at folder: ${clonepath}"
|
||||
gh.gitCheckoutAlt(cloneurl, clonerevision, clonepath, "", 1, true, [])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue