BuildMaster SDK Reference
Version:

PurgeBuildArtifact(string artifactBasePath, Inedo.BuildMaster.Artifacts.ArtifactIdentifier artifact) Method

Purges the build artifact from the system and deletes the artifact zip file.

Syntax

public static void PurgeBuildArtifact(string artifactBasePath, Inedo.BuildMaster.Artifacts.ArtifactIdentifier artifact)

Parameters

artifactBasePath
Type: string

The artifact base path.

artifact
Type: Inedo.BuildMaster.Artifacts.ArtifactIdentifier

The artifact.

Exceptions

System.ArgumentNullException

artifactBasePath or artifact

System.ArgumentException

Artifact does not exist