Property | Type | Description | |
---|---|---|---|
DeploymentScriptFileName | string |
Property | Type | Description | |
---|---|---|---|
Build | System.Threading.Tasks.Task | ||
CleanBuild | void | ||
EnumerateResults | IEnumerable |
||
FailDeployment | void | ||
FinishDeployment | void | ||
GenerateTemporaryId | string | ||
GetActiveDeploymentManifestPath | string | ||
GetDeploymentManifestPath | string | ||
GetLogPath | string | ||
GetLoggerForFile | IDetailedLogger | ||
GetOrCreateStatusFile | IDeploymentStatusFile | ||
GetOutputPath | string | ||
GetPurgeFailedDeployments | IEnumerable |
||
GetPurgeObsoleteDeployments | IEnumerable |
||
GetPurgeTemporaryDeployments | IEnumerable |
||
GetResult | DeployResult | ||
GetRoot | string | ||
IsActive | bool | ||
MarkStatusComplete | void | ||
PreDeployment | void | ||
PurgeAndGetDeployments | IEnumerable |
||
PurgeDeployments | IEnumerable |
||
TrimId | string | ||
TryGetVsProjectId | string | ||
TryTouchWebConfig | void | ||
VerifyDeployment | IDeploymentStatusFile |
Method | Description | |
---|---|---|
CreateTemporaryChangeSet ( string authorName = null, string authorEmail = null, string message = null ) : ChangeSet | ||
CreateTemporaryDeployment ( string statusText, ChangeSet &tempChangeSet, ChangeSet changeSet = null, string deployedBy = null ) : IDisposable | ||
Delete ( string id ) : void | ||
DeployAsync ( IRepository repository, ChangeSet changeSet, string deployer, bool clean, bool needFileUpdate = true ) : Task | ||
DeploymentManager ( ISiteBuilderFactory builderFactory, IEnvironment environment, ITraceFactory traceFactory, IAnalytics analytics, IDeploymentSettingsManager settings, IDeploymentStatusManager status, IOperationLock deploymentLock, ILogger globalLogger, IWebHooksManager hooksManager, IFunctionManager functionManager ) : System | ||
GetCachedDeploymentScriptPath ( IEnvironment environment ) : string | ||
GetDeploymentScriptContent ( ) : string |
Prepare a directory with the deployment script and .deployment file.
|
|
GetLogEntries ( string id ) : IEnumerable |
||
GetLogEntryDetails ( string id, string entryId ) : IEnumerable |
||
GetLogger ( string id ) : ILogger | ||
GetResult ( string id ) : DeployResult | ||
GetResults ( ) : IEnumerable |
Method | Description | |
---|---|---|
Build ( Kudu.Core.SourceControl.ChangeSet changeSet, ITracer tracer, IDisposable deployStep, IFileFinder fileFinder, DeploymentAnalytics deploymentAnalytics ) : System.Threading.Tasks.Task |
Builds and deploys a particular changeset. Puts all build artifacts in a deployments/{id}
|
|
CleanBuild ( ITracer tracer, string buildTempPath ) : void | ||
EnumerateResults ( ) : IEnumerable |
||
FailDeployment ( ITracer tracer, IDisposable deployStep, DeploymentAnalytics deploymentAnalytics, Exception ex ) : void | ||
FinishDeployment ( string id, IDisposable deployStep ) : void |
Runs post deployment steps. - Marks the active deployment - Sets the complete flag
|
|
GenerateTemporaryId ( int lenght = 8 ) : string | ||
GetActiveDeploymentManifestPath ( ) : string | ||
GetDeploymentManifestPath ( string id ) : string | ||
GetLogPath ( string id, bool ensureDirectory = true ) : string |
This function handles getting the path for the log file. If 'log.xml' exists then use that which will use XmlLogger, this is to support existing log files else use 'log.log' which will use TextLogger. Moving forward deployment will always use text logger. The logic to get the right logger is in GetLoggerForFile()
|
|
GetLoggerForFile ( string logPath ) : IDetailedLogger |
use XmlLogger if the file ends with .xml Otherwise use StructuredTextLogger
|
|
GetOrCreateStatusFile ( ChangeSet changeSet, ITracer tracer, string deployer ) : IDeploymentStatusFile | ||
GetOutputPath ( IEnvironment environment, IDeploymentSettingsManager perDeploymentSettings ) : string | ||
GetPurgeFailedDeployments ( IEnumerable |
||
GetPurgeObsoleteDeployments ( IEnumerable |
||
GetPurgeTemporaryDeployments ( IEnumerable |
||
GetResult ( string id, string activeDeploymentId, bool isDeploying ) : DeployResult | ||
GetRoot ( string id, bool ensureDirectory = true ) : string | ||
IsActive ( string id ) : bool | ||
MarkStatusComplete ( IDeploymentStatusFile status, bool success ) : void | ||
PreDeployment ( ITracer tracer ) : void | ||
PurgeAndGetDeployments ( ) : IEnumerable |
||
PurgeDeployments ( IEnumerable |
||
TrimId ( string id ) : string | ||
TryGetVsProjectId ( DeploymentContext context ) : string | ||
TryTouchWebConfig ( DeploymentContext context ) : void | ||
VerifyDeployment ( string id, bool isDeploying ) : IDeploymentStatusFile |
Ensure the deployment is in a valid state.
|
public static CreateTemporaryChangeSet ( string authorName = null, string authorEmail = null, string message = null ) : ChangeSet | ||
authorName | string | |
authorEmail | string | |
message | string | |
return | ChangeSet |
public CreateTemporaryDeployment ( string statusText, ChangeSet &tempChangeSet, ChangeSet changeSet = null, string deployedBy = null ) : IDisposable | ||
statusText | string | |
tempChangeSet | ChangeSet | |
changeSet | ChangeSet | |
deployedBy | string | |
return | IDisposable |
public DeployAsync ( IRepository repository, ChangeSet changeSet, string deployer, bool clean, bool needFileUpdate = true ) : Task | ||
repository | IRepository | |
changeSet | ChangeSet | |
deployer | string | |
clean | bool | |
needFileUpdate | bool | |
return | Task |
public DeploymentManager ( ISiteBuilderFactory builderFactory, IEnvironment environment, ITraceFactory traceFactory, IAnalytics analytics, IDeploymentSettingsManager settings, IDeploymentStatusManager status, IOperationLock deploymentLock, ILogger globalLogger, IWebHooksManager hooksManager, IFunctionManager functionManager ) : System | ||
builderFactory | ISiteBuilderFactory | |
environment | IEnvironment | |
traceFactory | ITraceFactory | |
analytics | IAnalytics | |
settings | IDeploymentSettingsManager | |
status | IDeploymentStatusManager | |
deploymentLock | IOperationLock | |
globalLogger | ILogger | |
hooksManager | IWebHooksManager | |
functionManager | IFunctionManager | |
return | System |
public static GetCachedDeploymentScriptPath ( IEnvironment environment ) : string | ||
environment | IEnvironment | |
return | string |
public GetDeploymentScriptContent ( ) : string | ||
return | string |
public GetLogEntries ( string id ) : IEnumerable |
||
id | string | |
return | IEnumerable |
public GetLogEntryDetails ( string id, string entryId ) : IEnumerable |
||
id | string | |
entryId | string | |
return | IEnumerable |
public GetResult ( string id ) : DeployResult | ||
id | string | |
return | DeployResult |