Summary
- Namespace
- Cake
.Common .Build .AzurePipelines - Interfaces
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IAzurePipelinesCommands"]
click Interface0 "/api/Cake.Common.Build.AzurePipelines/IAzurePipelinesCommands"
Type["AzurePipelinesCommands"]
class Type type-node
Syntax
public sealed class AzurePipelinesCommands : IAzurePipelinesCommands
Constructors
Name | Summary |
---|---|
Azure |
Initializes a new instance of the AzurePipelinesCommands class.
|
Methods
Name | Value | Summary |
---|---|---|
AddBuildTag |
void |
Add a tag for current build.
|
BeginGroup |
void |
Begin a collapsible group.
|
CompleteCurrentTask |
void |
Finish timeline record for current task and set task result to succeeded.
|
CompleteCurrentTask |
void |
Finish timeline record for current task and set task result.
|
CreateNewRecord |
Guid |
Create detail timeline record.
|
CreateNewRecord |
Guid |
Create detail timeline record.
|
EndGroup |
void |
End a collapsible group.
|
LinkArtifact |
void |
Create an artifact link, such as a file or folder path or a version control path.
|
PublishCodeCoverage |
void |
Publishes and uploads code coverage results.
|
PublishCodeCoverage |
void |
Publishes and uploads code coverage results.
|
PublishCodeCoverage |
void |
Publishes and uploads code coverage results.
|
PublishTestResults |
void |
Publishes and uploads tests results.
|
Section |
void |
Log section.
|
SetOutputVariable |
void |
Sets a output variable in the variable service of the task context.
|
SetProgress |
void |
Set progress and current operation for current task.
|
SetSecretVariable |
void |
Sets a secret variable in the variable service of the task context.
|
SetVariable |
void |
Sets a variable in the variable service of the task context.
|
UpdateBuildNumber |
void |
Update build number for current build.
|
UpdateRecord |
void |
Update an existing detail timeline record.
|
UploadArtifact |
void |
Upload local file into a file container folder, and create an artifact.
|
UploadArtifact |
void |
Upload local file into a file container folder.
|
Upload |
void |
Upload local directory as a container folder, and create an artifact with the specified name.
|
Upload |
void |
Upload local directory as a container folder, and create an artifact.
|
UploadBuildLogFile |
void |
Upload additional log to build container's
logs/tool folder.
|
UploadTaskLogFile |
void |
Upload file as additional log information to the current timeline record.
|
UploadTaskSummary |
void |
Upload and attach summary markdown to current timeline record.
|
WriteError |
void |
Log an error with detailed data to timeline record of current task.
|
WriteError |
void |
Log an error to timeline record of current task.
|
WriteWarning |
void |
Log a warning issue with detailed data to timeline record of current task.
|
WriteWarning |
void |
Log a warning issue to timeline record of current task.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
Group |
IDisposable |
Groups Azure Pipelines output.
|
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 |
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 |
From StringExtensions
Requires the Cake.Issues addin
|