def GetTestSelections(arguments): yamlData = SwarmTools.LoadYamlDataFromFiles( arguments, BuildTools.DEFAULT_BUILD_MANAGEMENT_YAML_FILES) testProperty = SwarmTools.GetProperties(arguments, TEST_KEY, GetInfoMsg(), yamlData) if BuildTools.SELECTIONS_KEY in testProperty: return testProperty[BuildTools.SELECTIONS_KEY] return {}
def GetSwarmSelections(arguments): yamlData = SwarmTools.LoadYamlDataFromFiles( arguments, [BuildTools.DEFAULT_BUILD_MANAGEMENT_YAML_FILE]) swarmProperty = SwarmTools.GetProperties(arguments, SWARM_KEY, GetInfoMsg(), yamlData) if BuildTools.SELECTIONS_KEY in swarmProperty: return swarmProperty[BuildTools.SELECTIONS_KEY] return {}
def GetPublishSelections(arguments): yamlData = SwarmTools.LoadYamlDataFromFiles( arguments, [BuildTools.DEFAULT_BUILD_MANAGEMENT_YAML_FILE]) publishProperty = SwarmTools.GetProperties(arguments, PUBLISH_KEY, GetInfoMsg(), yamlData) if BuildTools.SELECTIONS_KEY in publishProperty: return publishProperty[BuildTools.SELECTIONS_KEY] return {}
def GetChangelogSelection(arguments): yamlData = SwarmTools.LoadYamlDataFromFiles( arguments, [BuildTools.DEFAULT_BUILD_MANAGEMENT_YAML_FILE]) return SwarmTools.GetProperties(arguments, CHANGELOG_KEY, GetInfoMsg(), yamlData)