Summary
Represents a service that communicates with AppVeyor.
- Namespace
- Cake
.Common .Build .AppVeyor - Implementing Types
graph BT
Type["IAppVeyorProvider"]
class Type type-node
Implementing0["AppVeyorProvider"]-.->Type
click Implementing0 "/api/Cake.Common.Build.AppVeyor/AppVeyorProvider"
Syntax
public interface IAppVeyorProvider
Properties
| Name | Value | Summary |
|---|---|---|
| Environment | App |
Gets the AppVeyor environment.
|
| IsRunningOnAppVeyor | bool |
Gets a value indicating whether the current build is running on AppVeyor.
|
Methods
| Name | Value | Summary |
|---|---|---|
| AddMessage |
void |
Adds a message to the AppVeyor build log. Messages can be categorised as: Information, Warning or Error.
|
| UpdateBuildVersion |
void |
Updates the build version.
|
| UploadArtifact |
void |
Uploads an AppVeyor artifact.
|
| UploadArtifact |
void |
Uploads an AppVeyor artifact.
|
| UploadArtifact |
void |
Uploads an AppVeyor artifact.
|
| UploadTestResults |
void |
Uploads test results XML file to AppVeyor. Results type can be one of the following: mstest, xunit, nunit, nunit3, junit.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| AddErrorMessage |
void |
Adds a warning message to the AppVeyor build log.
|
| AddErrorMessage |
void |
Adds a warning message to the AppVeyor build log.
|
| Add |
void |
Adds an informational message to the AppVeyor build log.
|
| AddWarningMessage |
void |
Adds a warning message to the AppVeyor build log.
|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
