BuildMaster SDK Reference
Version:

ImportZip(ArtifactIdentifier artifact, Inedo.Agents.IFileOperationsExecuter fileOps, Inedo.BuildMaster.Files.FileEntryInfo fileEntry) Method

Imports a zip file into the BuildMaster artifact library.

Syntax

public static void ImportZip(ArtifactIdentifier artifact, Inedo.Agents.IFileOperationsExecuter fileOps, Inedo.BuildMaster.Files.FileEntryInfo fileEntry)

Parameters

artifact
Type: ArtifactIdentifier

The artifact to import.

fileOps
Type: Inedo.Agents.IFileOperationsExecuter

The Inedo.Agents.IFileOperationsExecuter to import the zip file from.

fileEntry
Type: Inedo.BuildMaster.Files.FileEntryInfo

The zip file to import.

Exceptions

System.ArgumentNullException

artifact, fileOps, or fileEntry is null (Nothing in Visual Basic).

System.InvalidOperationException

File is not a zip file.