BuildMaster SDK Reference
Version:

ImportZip(ArtifactIdentifier artifact, Inedo.Agents.IFileOperationsExecuter fileOps, Inedo.BuildMaster.Files.FileEntryInfo fileEntry, int? executionId) 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, int? executionId)

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.

executionId
Type: int?

The ID of the associated execution.

Exceptions

System.ArgumentNullException

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