C# Class CcNet.Labeller.GitRevisionLabeller

Inheritance: ILabeller
Show file Open project: atzedent/ccnet.GitRevisionLabeller.plugin

Private Properties

Property Type Description
BaseWorkingDirectory string
GetOriginHash string
GetRepositoryFullPath string
NewProcessInfo ThoughtWorks.CruiseControl.Core.Util.ProcessInfo
SetEnvironmentVariable void
SetEnvironmentVariable void

Public Methods

Method Description
Generate ( IIntegrationResult resultFromLastBuild ) : string

Returns the label to use for the current build.

Run ( IIntegrationResult result ) : void

Runs the task, given the specified IIntegrationResult, in the specified IProject.

Private Methods

Method Description
BaseWorkingDirectory ( IIntegrationResult result ) : string
GetOriginHash ( IIntegrationResult result ) : string
GetRepositoryFullPath ( IIntegrationResult result ) : string
NewProcessInfo ( string args, string dir ) : ThoughtWorks.CruiseControl.Core.Util.ProcessInfo
SetEnvironmentVariable ( string name, int @value ) : void
SetEnvironmentVariable ( string name, string @value ) : void

Method Details

Generate() public method

Returns the label to use for the current build.
public Generate ( IIntegrationResult resultFromLastBuild ) : string
resultFromLastBuild IIntegrationResult IntegrationResult from last build used to determine the next label.
return string

Run() public method

Runs the task, given the specified IIntegrationResult, in the specified IProject.
public Run ( IIntegrationResult result ) : void
result IIntegrationResult The label for the current build.
return void