Class ArtifactOperations
- Namespace
- Ando.Operations
- Assembly
- ando.dll
Manages build artifact registration and copying from container to host.
public class ArtifactOperations
- Inheritance
-
ArtifactOperations
- Inherited Members
Constructors
ArtifactOperations(IBuildLogger)
public ArtifactOperations(IBuildLogger logger)
Parameters
loggerIBuildLogger
Properties
Artifacts
Read-only list of registered artifacts.
public IReadOnlyList<ArtifactEntry> Artifacts { get; }
Property Value
ZippedArtifacts
Read-only list of registered zipped artifacts.
public IReadOnlyList<ZippedArtifactEntry> ZippedArtifacts { get; }
Property Value
Methods
Clear()
Clears all registered artifacts.
public void Clear()
CopyToHost(string, string)
Registers an artifact to be copied from the container to the host. The actual copy happens after build completion via CopyToHostAsync().
public void CopyToHost(string containerPath, string hostPath)
Parameters
containerPathstringPath inside the container (relative to /workspace or absolute).
hostPathstringPath on the host machine (relative to project root or absolute).
CopyZippedToHost(string, string)
Registers an artifact to be zipped in the container and copied to the host. The artifact is zipped before transfer for faster copying of many small files. The actual zip/copy/extract happens after build completion via CopyZippedToHostAsync().
public void CopyZippedToHost(string containerPath, string hostPath)