Summary
Gets a
JenkinsProvider
instance that can be used to
obtain information from the Jenkins environment.
Syntax
[CakePropertyAlias(Cache = true)]
[CakeNamespaceImport("Cake.Common.Build.Jenkins")]
[CakeNamespaceImport("Cake.Common.Build.Jenkins.Data")]
public static IJenkinsProvider Jenkins(this ICakeContext context)
Examples
var isJenkinsBuild = Jenkins.IsRunningOnJenkins;
Attributes
Type |
Description |
CakePropertyAliasAttribute |
An attribute used to mark script property aliases.
|
CakeNamespaceImportAttribute |
An attribute used to hint Cake about additional namespaces that need
to be imported for an alias to work. This attribute can mark an
extension method, the extension method class, or the assembly to provide a global set of imports.
|
CakeNamespaceImportAttribute |
An attribute used to hint Cake about additional namespaces that need
to be imported for an alias to work. This attribute can mark an
extension method, the extension method class, or the assembly to provide a global set of imports.
|
Parameters
Return Value