Summary
Gets a value indicating whether the current build is running on Bitbucket Pipelines.
- Namespace
- Cake
.Common .Build .BitbucketPipelines - Containing Type
- Bitbucket
Pipelines Provider
Syntax
public bool IsRunningOnBitbucketPipelines { get; }
Examples
if (BuildSystem.BitbucketPipelines.IsRunningOnBitbucketPipelines)
{
Information("Running on Bitbucket Pipelines");
}
else
{
Information("Not running on Bitbucket Pipelines");
}
Value
| Type | Description |
|---|---|
| bool |
true if the current build is running on Bitbucket Pipelines; otherwise, false.
|
