Mark all components below a released parent component as released
This commit is contained in:
parent
2e950dd6a0
commit
3f654c2245
2 changed files with 2 additions and 2 deletions
|
|
@ -327,7 +327,7 @@ def artifactimport(meta,
|
|||
childmeta = findresults.matchedmetaitem.metainfo
|
||||
echo "Parent meta indicates it is released: ${parentmeta.releaseinfo.released}"
|
||||
echo "Child meta indicates it is released: ${childmeta.releaseinfo.released}"
|
||||
if (importoptions.m_sourceselect == 'Release repository' || parentmeta.releaseinfo.released) {
|
||||
if (importoptions.m_sourceselect == 'Release repository' || childmeta.releaseinfo.released) {
|
||||
importoptions.releaserepo(childmeta.releaseinfo.releaserepoURL, childmeta.releasetag())
|
||||
} else {
|
||||
importoptions.jenkinsjob(childmeta.jenkinsbuildinfo.buildjobname, childmeta.jenkinsbuildinfo.buildnumber)
|
||||
|
|
|
|||
|
|
@ -711,7 +711,7 @@ class MetaInfo extends GISJsonSerialised {
|
|||
}
|
||||
|
||||
void markreleased() {
|
||||
script.echo("Marking product: ${productinfo.productname} component: ${productinfo.subcomponentname} as released")
|
||||
//script.echo("Marking product: ${productinfo.productname} component: ${productinfo.subcomponentname} as released")
|
||||
releaseinfo.markreleased()
|
||||
for (associated in associatedmeta) {
|
||||
associated.markreleased()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue