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