C# Class CydinBuildService.BuildService

显示文件 Open project: slluis/cydin Class Usage Examples

Public Methods

Method Description
BuildService ( ) : System
NormalizePath ( string path ) : string
RefreshAppRelease ( BuildContext ctx, CydinBuildService.n127_0_0_1.AppReleaseInfo release ) : void
Start ( string url ) : void
Stop ( ) : void
UpdateSourceTags ( BuildContext ctx, ServerEventArgs ev ) : void
UpdateSourceTags ( BuildContext ctx, SourceInfo source, bool force ) : void

Private Methods

Method Description
Build ( BuildContext ctx, ServerEventArgs ev ) : void
BuildProjectAddin ( BuildContext ctx, CydinBuildService.n127_0_0_1.SourceTagInfo stag, string logFile, string sourcePath, CydinBuildService.n127_0_0_1.AppReleaseInfo rel, CydinBuildService.AddinProjectAddin addin ) : CydinBuildService.n127_0_0_1.AddinData
BuildProjects ( BuildContext ctx, ServerEventArgs ev ) : void
BuildSource ( BuildContext ctx, SourceInfo vcs, CydinBuildService.n127_0_0_1.SourceTagInfo stag ) : bool
BuildSource ( BuildContext ctx, SourceInfo source, CydinBuildService.n127_0_0_1.SourceTagInfo stag, string logFile ) : void
ConnectToServer ( BuildContext ctx ) : bool
ContaintsMdTargetsFile ( string path ) : bool
CopyDlls ( string dir, string targetDir ) : void
ExtractDmg ( BuildContext ctx, string filePath, string file ) : void
FetchSource ( BuildContext ctx, SourceInfo vcs, CydinBuildService.n127_0_0_1.SourceTagInfo stag, string logFile ) : void
GetTempDirectory ( ) : string
HandleDisconnected ( object sender, EventArgs e ) : void
HandleError ( BuildContext ctx, Exception ex ) : bool
HandleEvent ( object sender, ServerEventArgs e ) : void
PushFiles ( BuildContext ctx, SourceInfo source, CydinBuildService.n127_0_0_1.SourceTagInfo stag, bool safe ) : void
QueueBuildAll ( ) : void
ReadAddinInfo ( string file ) : AddinInfo
Run ( ) : void
Run7z ( string archiveFile, string targetDir ) : void
RunCommand ( bool sandboxed, string command, string args, StringBuilder output, StringBuilder error, int timeout ) : void
RunCommand ( bool sandboxed, string command, string args, StringBuilder output, StringBuilder error, int timeout, string workDir ) : void

Method Details

BuildService() public method

public BuildService ( ) : System
return System

NormalizePath() public method

public NormalizePath ( string path ) : string
path string
return string

RefreshAppRelease() public method

public RefreshAppRelease ( BuildContext ctx, CydinBuildService.n127_0_0_1.AppReleaseInfo release ) : void
ctx BuildContext
release CydinBuildService.n127_0_0_1.AppReleaseInfo
return void

Start() public method

public Start ( string url ) : void
url string
return void

Stop() public method

public Stop ( ) : void
return void

UpdateSourceTags() public method

public UpdateSourceTags ( BuildContext ctx, ServerEventArgs ev ) : void
ctx BuildContext
ev ServerEventArgs
return void

UpdateSourceTags() public method

public UpdateSourceTags ( BuildContext ctx, SourceInfo source, bool force ) : void
ctx BuildContext
source SourceInfo
force bool
return void