JenkinsProvider Class

Summary

Responsible for communicating with Jenkins.
Namespace
Cake.Common.Build.Jenkins
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IJenkinsProvider"] click Interface0 "/api/Cake.Common.Build.Jenkins/IJenkinsProvider" Type["JenkinsProvider"] class Type type-node

Syntax

public sealed class JenkinsProvider : IJenkinsProvider

Constructors

Name Summary
JenkinsProvider(ICakeEnvironment) Initializes a new instance of the JenkinsProvider class.

Properties

Name Value Summary
Environment JenkinsEnvironmentInfo
Gets the Jenkins environment.
IsRunningOnJenkins bool
Gets a value indicating whether this instance is running on jenkins.

Extension Methods

Name Value Summary
Dump<JenkinsProvider>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<JenkinsProvider>(JenkinsProvider[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<JenkinsProvider>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<JenkinsProvider>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<JenkinsProvider>(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<JenkinsProvider>(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
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin