IContinuaCIProvider Interface

Summary

Represents a Continua CI provider.
Namespace
Cake.Common.Build.ContinuaCI
Implementing Types
graph BT Type["IContinuaCIProvider"] class Type type-node Implementing0["ContinuaCIProvider"]-.->Type click Implementing0 "/api/Cake.Common.Build.ContinuaCI/ContinuaCIProvider"

Syntax

public interface IContinuaCIProvider

Properties

Name Value Summary
Environment ContinuaCIEnvironmentInfo
Gets the Continua CI environment.
IsRunningOnContinuaCI bool
Gets a value indicating whether the current build is running on Continua CI.

Methods

Name Value Summary
SetBuildStatus(string) void
Set a Continua CI build status message, which is shown on the build details page when a build is running.
SetBuildVersion(string) void
Set a Continua CI build version.
SetVariable(string, string, bool) void
Set a Continua CI build variable.
WriteEndBlock(string) void
Write the end of a message block to the Continua CI build log.
WriteMessage(string, ContinuaCIMessageType) void
Write a status message to the Continua CI build log.
WriteStartGroup(string) void
Write the start of a message group to the Continua CI build log.

Extension Methods

Name Value Summary
Dump<IContinuaCIProvider>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<IContinuaCIProvider>(IContinuaCIProvider[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<IContinuaCIProvider>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<IContinuaCIProvider>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<IContinuaCIProvider>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<IContinuaCIProvider>(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