Summary
Gets a value indicating whether the current build is running on AppVeyor.
- Namespace
- Cake
.Common .Build - Containing Type
- BuildSystem
Syntax
public bool IsRunningOnAppVeyor { get; }
Examples
if (BuildSystem.IsRunningOnAppVeyor)
{
// Upload artifact to AppVeyor.
AppVeyor.UploadArtifact("./build/release_x86.zip");
}
Value
Type | Description |
---|---|
bool |
true if the build currently is running on AppVeyor; otherwise, false .
|