Interface IRetrieveArtifact
Defines a target for retrieving build artifacts using an IArtifactProvider.
public interface IRetrieveArtifact : IAtomArtifactsParam, ISetupBuildInfo, IBuildInfo, IVariablesHelper, IReportsHelper, IBuildAccessor
- Inherited Members
Remarks
This interface, when implemented by a build definition, provides the RetrieveArtifact target.
It uses the configured IArtifactProvider to download artifacts.
Artifacts to be retrieved are specified via the AtomArtifacts parameter.
Build information from ISetupBuildInfo (e.g., BuildName, BuildId) is used
to identify the correct artifacts to download.
This target is hidden by default, primarily for internal use or custom artifact workflows.
Properties
RetrieveArtifact
Defines the target responsible for retrieving artifacts.
Target RetrieveArtifact { get; }
Property Value
Remarks
This target orchestrates the download of artifacts by invoking the RetrieveArtifacts(IEnumerable<string>, string?, string?, CancellationToken) method. It consumes the AtomArtifacts parameter to determine which artifacts to retrieve and utilizes build metadata from ISetupBuildInfo.