Deployment Class

Summary

Provides info about Kudu deployment environment.
Assembly
Cake.Kudu.dll
Namespace
Cake.Kudu.Provider
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Deployment"] class Type type-node

Syntax

public sealed class Deployment

Properties

Name Value Summary
Command string
Gets the command that triggered deployment.
NextManifest FilePath
Gets the KuduSync next manifest path.
PreviousManifest FilePath
Gets the KuduSync previous / current manifest path.
Source DirectoryPath
Gets the deployment source path (if SCM driven it's path to the repository).
Target DirectoryPath
Gets the deployment target path, build output artifacts goes here.
Temp DirectoryPath
Gets the deployment temporary path, use this for temporary assets used in build process.

Extension Methods

Name Value Summary
Dump<Deployment>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<Deployment>(Deployment[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<Deployment>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<Deployment>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<Deployment>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<Deployment>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin