Summary
Mutable state of the build run.
- Assembly
- Cake
.Frosting .Issues .Recipe .dll - Namespace
- Cake
.Frosting .Issues .Recipe - Interfaces
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IIssuesState"]
click Interface0 "/api/Cake.Frosting.Issues.Recipe/IIssuesState"
Type["IssuesState"]
class Type type-node
Syntax
public class IssuesState : IIssuesState
Constructors
Name | Summary |
---|---|
IssuesState |
Creates a new instance of the IssuesState class.
|
Properties
Name | Value | Summary |
---|---|---|
BuildRootDirectory | DirectoryPath |
Gets the root directory of the build script.
|
BuildServer | IIssuesBuildServer |
Gets the build server under which the build is running.
Returns
null if running locally or on an unsupported build server.
|
CommitId | string |
Gets the SHA ID of the current commit.
|
FullIssuesReport | FilePath |
Gets or sets the path to the full issues report.
|
Issue |
IList |
Gets the list of issue providers and runs for which issues are read.
|
Issues | IEnumerable |
Gets the list of reported issues.
|
ProjectRootDirectory | DirectoryPath |
Gets or sets the root directory of the project.
Default value is the parent directory of the
BuildRootDirectory .
|
PullRequestSystem | I |
Gets the pull request system used for the code.
Returns
null if not running a pull request build or on an unsupported build server.
|
RepositoryInfo | I |
Gets the provider to read information about the Git repository.
|
RepositoryRemoteUrl | Uri |
Gets the remote URL of the repository.
|
Repository |
DirectoryPath |
Gets the root directory of the repository.
|
SummaryIssuesReport | FilePath |
Gets or sets the path to the summary issues report.
|
Methods
Name | Value | Summary |
---|---|---|
AddIssue |
void |
Adds an issue to
Issues .
To read issues from an issue provider use AddIssues(IIssueProvider, IReadIssuesSettings) .
|
AddIssues |
void |
Adds a list of issues to
Issues .
To read issues from an issue provider use AddIssues(IIssueProvider, IReadIssuesSettings) .
|
AddIssues |
IEnumerable |
Reads issues from an issue provider and adds the issues to
Issues .
|
Extension Methods
Name | Value | Summary |
---|---|---|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
|