TravisCIJobInfo Class

Summary

Provides Travis CI job information for the current build.
Namespace
Cake.Common.Build.TravisCI.Data
Base Types
graph BT Type-->Base0["TravisCIInfo"] click Base0 "/api/Cake.Common.Build.TravisCI/TravisCIInfo" Base0-->Base1["object"] Type["TravisCIJobInfo"] class Type type-node

Syntax

public sealed class TravisCIJobInfo : TravisCIInfo

Constructors

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

Properties

Name Value Summary
JobId string
Gets the job identifier for the current job.
JobNumber string
Gets the job number for the current job.
OSName string
Gets the name of the operating system for the current job.
SecureEnvironmentVariables bool
Gets a value indicating whether encrypted environment variables are being used for the current job.

Methods

Name Value Summary
GetEnvironmentBoolean(string) bool
Gets an environment variable as a bool.
Inherited from TravisCIInfo
GetEnvironmentInteger(string) int
Gets an environment variable as a int.
Inherited from TravisCIInfo
GetEnvironmentString(string) string
Gets an environment variable as a string.
Inherited from TravisCIInfo

Extension Methods

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