Class BuildInfo
Properties for build system session
Inheritance
object
BuildInfo
Namespace: BuildSystem.Info
Assembly: BuildSystem.Info.dll
Syntax
public static class BuildInfo : Object
Properties
JenkinsParams
Parameters provided on build machine
Declaration
public static Dictionary<JenkinsInfo, object> JenkinsParams { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<,><JenkinsInfo, object> |
NugetGlobalPackagesDirectory
Path to the global nuget packages directory
Declaration
public static string? NugetGlobalPackagesDirectory { get; set; }
Property Value
Type | Description |
---|---|
string |
RunParams
Parameters provided to build.cmd script
Declaration
public static Dictionary<RunInfo, string> RunParams { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<,><RunInfo, string> |
SessionParams
Parameters of current session
Declaration
public static Dictionary<SessionInfo, object> SessionParams { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<,><SessionInfo, object> |
Methods
JenkinsParam(JenkinsInfo?)
Parameters provided on build machine
Declaration
public static object? JenkinsParam(JenkinsInfo? jenkinsParam)
Parameters
Type | Name | Description |
---|---|---|
JenkinsInfo | jenkinsParam |
Returns
Type | Description |
---|---|
object |
ReadJenkinsParams()
Read all Jenkins params
Declaration
public static void ReadJenkinsParams()
RunParam(RunInfo?)
Parameters provided to build.cmd script
Declaration
public static string? RunParam(RunInfo? runInfo)
Parameters
Type | Name | Description |
---|---|---|
RunInfo | runInfo |
Returns
Type | Description |
---|---|
string |
SessionParam(SessionInfo?)
Parameters of current session
Declaration
public static object? SessionParam(SessionInfo? sessionParam)
Parameters
Type | Name | Description |
---|---|---|
SessionInfo | sessionParam |
Returns
Type | Description |
---|---|
object |