Skip to content

Intermediate buildgroup and collection name conflicts #84

Description

@dennis-behm

When supplying a different default build branch, some logic in the metadatastore utilities conflicts with the hard-coded values in there:

def getLogicalFile(String file, String application) {
def referenceName="${application}-main"
def buildGroup = metadataStore.getBuildGroup(referenceName)
if (buildGroup) {
def collection = buildGroup.getCollection(referenceName)
if (collection) {
lFile = collection.getLogicalFile("${application}/${file}")
return lFile
} else {
logger.logMessage("\t*! [ERROR] The collection '$referenceName' in buildgroup '$referenceName' could not be found.")
}
} else {
logger.logMessage("\t*! [ERROR] The buildgroup '$referenceName' could not be found.")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions