Summary
Gets the Jenkins Provider.
- Namespace
- Cake
.Common .Build - Containing Type
- BuildSystem
Syntax
public IJenkinsProvider Jenkins { get; }
Examples
if (BuildSystem.IsRunningOnJenkins)
{
// Get the job name.
var jobName = BuildSystem.Jenkins.Environment.Build.JobName;
}
Value
Type | Description |
---|---|
IJenkinsProvider | The jenkins. |