Class BuildSpaceCommon
The space served by the build system
Inheritance
object
BuildSpaceCommon
Implements
Namespace: BuildSystem.BuildSpace.Common
Assembly: BuildSystem.dll
Syntax
public class BuildSpaceCommon : Object, IBuildSpace
Constructors
BuildSpaceCommon(ILogger?, string, SettingsReaderType, object)
Build space as group of served projects
Declaration
public BuildSpaceCommon(ILogger? logger, string tempFolder, SettingsReaderType settingsReaderType, object settingsStore)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | Logging object |
string | tempFolder | Folder to store temp files of build system session |
SettingsReaderType | settingsReaderType | Type of reading settings |
object | settingsStore | Object provided to Update(object, List<string>) |
Properties
Logger
_logger
Declaration
public ILogger? Logger { get; }
Property Value
Type | Description |
---|---|
ILogger |
Projects
Projects served by space
Declaration
public IProjectList Projects { get; }
Property Value
Type | Description |
---|---|
IProjectList |
Methods
GenerateAllureReport(string)
Run allure serve command on folder. Downloads allure CLI
Declaration
public void GenerateAllureReport(string allureFolder)
Parameters
Type | Name | Description |
---|---|---|
string | allureFolder |
Reclaim(string, ProjectFilter?)
Delete old versions of packages with properties set in current build space
Declaration
public void Reclaim(string variantName, ProjectFilter? filter = null)
Parameters
Type | Name | Description |
---|---|---|
string | variantName | Environment params |
ProjectFilter | filter | Project filtering |
Sign(string, List<string>)
Sign list of files using signer initialized from build space settings
Declaration
public bool Sign(string variantName, List<string> files)
Parameters
Type | Name | Description |
---|---|---|
string | variantName | Environment params |
System.Collections.Generic.List<><string> | files | List of signing files |
Returns
Type | Description |
---|---|
bool | Flag that every file was successfully signed |