Summary
Gets a value indicating whether the current build is running on MyGet.
- Namespace
- Cake
.Common .Build - Containing Type
- BuildSystem
Syntax
public bool IsRunningOnMyGet { get; }
Examples
if (BuildSystem.IsRunningOnMyGet)
{
MyGet.BuildProblem("Something went wrong...");
// Do action...
}
Value
Type | Description |
---|---|
bool |
true if the build currently is running on MyGet; otherwise, false .
|