C# Class gitlab_ci_runner.runner.Build

显示文件 Open project: virtualmarc/gitlab-ci-runner-win Class Usage Examples

Public Properties

Property Type Description
buildInfo BuildInfo
state State

Public Methods

Method Description
Build ( System.BuildInfo buildInfo ) : System

Constructor

run ( ) : void

Run the Build Job

Private Methods

Method Description
DeleteDirectory ( string target_dir ) : void

Delete non empty directory tree

cloneCmd ( ) : string

Get the Clone CMD

exec ( string sCommand ) : bool

Execute a command

fetchCmd ( ) : string

Get the Fetch CMD

initProjectDir ( ) : void

Initialize project dir and checkout repo

outputHandler ( object sendingProcess, DataReceivedEventArgs outLine ) : void

STDOUT/STDERR Handler

Method Details

Build() public method

Constructor
public Build ( System.BuildInfo buildInfo ) : System
buildInfo System.BuildInfo Build Info
return System

run() public method

Run the Build Job
public run ( ) : void
return void

Property Details

buildInfo public_oe property

Build Infos
public BuildInfo buildInfo
return BuildInfo

state public_oe property

Execution State
public State state
return State