BuildMaster SDK Reference
Version:
Util.Artifacts Class
Contains methods for working with artifacts.
Inheritance Hierarchy
- object
- Inedo.BuildMaster.Util.Artifacts
Syntax
public
class
Util.Artifacts
Methods
|
Name |
Description |
|
CreateBuildArtifact(Inedo.BuildMaster.Extensibility.Actions.IAgentBasedActionExecutionContext context, string artifactName, Inedo.BuildMaster.Extensibility.Actions.ActionLogMessageDelegator logger, System.Action throwIfCanceledOrTimeoutExpired)
|
Creates a build artifact and stores it in the artifact library.
|
|
GetArtifactPath(int applicationId, string releaseNumber, string buildNumber, int deployableId, string artifactName)
|
Returns the relative path to an artifact file from the Artifact Base Path.
|
|
GetFullArtifactPath(string artifactBasePath, int applicationId, string releaseNumber, string buildNumber, int deployableId, string artifactName)
|
Returns the absolute path to an artifact file.
|
|
GetFullArtifactPath(string artifactBasePath, Inedo.BuildMaster.Data.Tables.BuildArtifacts_Extended artifact)
|
|
|
GetFullArtifactPath(string artifactBasePath, Inedo.BuildMaster.Artifacts.ArtifactIdentifier artifact)
|
Returns the absolute path to an artifact file.
|
|
PurgeBuildArtifact(string artifactBasePath, Inedo.BuildMaster.Artifacts.ArtifactIdentifier artifact)
|
Purges the build artifact from the system and deletes the artifact zip file.
|