Class JenkinsInfo
Possible values which can be saved in JenkinsParams
Inheritance
Namespace: BuildSystem.Info
Assembly: BuildSystem.Info.dll
Syntax
public sealed class JenkinsInfo : Enum
Fields
BranchName
Name of the branch for which this Pipeline is executing, for example master.
Declaration
public const JenkinsInfo BranchName = 0
Field Value
Type | Description |
---|---|
JenkinsInfo |
BuildDisplayName
The current build display name, such as "#14".
Declaration
public const JenkinsInfo BuildDisplayName = 1
Field Value
Type | Description |
---|---|
JenkinsInfo |
BuildNumber
The current build number, such as "14".
Declaration
public const JenkinsInfo BuildNumber = 2
Field Value
Type | Description |
---|---|
JenkinsInfo |
BuildTag
The current build tag, such as "jenkins-nuke-14".
Declaration
public const JenkinsInfo BuildTag = 3
Field Value
Type | Description |
---|---|
JenkinsInfo |
ChangeId
An identifier corresponding to some kind of change request, such as a pull request number.
Declaration
public const JenkinsInfo ChangeId = 4
Field Value
Type | Description |
---|---|
JenkinsInfo |
ExecutorNumber
The number of the executor this build is running on, Equals '0' for first executor.
Declaration
public const JenkinsInfo ExecutorNumber = 5
Field Value
Type | Description |
---|---|
JenkinsInfo |
GitBranch
For Git-based projects, this variable contains the Git branch that was checked out for the build
Declaration
public const JenkinsInfo GitBranch = 6
Field Value
Type | Description |
---|---|
JenkinsInfo |
GitCommit
For Git-based projects, this variable contains the Git hash of the commit checked out for the build
Declaration
public const JenkinsInfo GitCommit = 7
Field Value
Type | Description |
---|---|
JenkinsInfo |
GitPreviousCommit
For Git-based projects, this variable contains the Git hash of the previous build commit
Declaration
public const JenkinsInfo GitPreviousCommit = 8
Field Value
Type | Description |
---|---|
JenkinsInfo |
GitPreviousSuccessfulCommit
For Git-based projects, this variable contains the Git hash of the last successful build
Declaration
public const JenkinsInfo GitPreviousSuccessfulCommit = 9
Field Value
Type | Description |
---|---|
JenkinsInfo |
GitUrl
For Git-based projects, this variable contains the Git url
Declaration
public const JenkinsInfo GitUrl = 10
Field Value
Type | Description |
---|---|
JenkinsInfo |
JenkinsHome
The path to the jenkins home directory
Declaration
public const JenkinsInfo JenkinsHome = 11
Field Value
Type | Description |
---|---|
JenkinsInfo |
JenkinsServerCookie
The jenkins server cookie
Declaration
public const JenkinsInfo JenkinsServerCookie = 12
Field Value
Type | Description |
---|---|
JenkinsInfo |
JobBaseName
The base name of the current job, such as "Nuke"
Declaration
public const JenkinsInfo JobBaseName = 13
Field Value
Type | Description |
---|---|
JenkinsInfo |
JobDisplayUrl
The url to the currents job overview.
Declaration
public const JenkinsInfo JobDisplayUrl = 14
Field Value
Type | Description |
---|---|
JenkinsInfo |
JobName
The name of the current job, such as "Nuke".
Declaration
public const JenkinsInfo JobName = 15
Field Value
Type | Description |
---|---|
JenkinsInfo |
NodeLabels
The labels of the node this build is running on, such as "win64 msbuild".
Declaration
public const JenkinsInfo NodeLabels = 16
Field Value
Type | Description |
---|---|
JenkinsInfo |
NodeName
The name of the node this build is running on, such as "master".
Declaration
public const JenkinsInfo NodeName = 17
Field Value
Type | Description |
---|---|
JenkinsInfo |
RunChangesDisplayUrl
The url to the currents run changes page.
Declaration
public const JenkinsInfo RunChangesDisplayUrl = 18
Field Value
Type | Description |
---|---|
JenkinsInfo |
RunDisplayUrl
The url to the currents run overview page.
Declaration
public const JenkinsInfo RunDisplayUrl = 19
Field Value
Type | Description |
---|---|
JenkinsInfo |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
int |
Workspace
The path to the folder this job is running in.
Declaration
public const JenkinsInfo Workspace = 20
Field Value
Type | Description |
---|---|
JenkinsInfo |