CopyPublishBuildArtifacts@1 - Copy and Publish Build Artifacts v1 task
Raksts
Use this task to copy build artifacts to a staging folder and then publish them to the server or a file share. Files are copied to the $(Build.ArtifactStagingDirectory) staging folder and then published.
# Copy and Publish Build Artifacts v1# CopyPublishBuildArtifacts@1 is deprecated. Use the Copy Files task and the Publish Build Artifacts task instead.- task:CopyPublishBuildArtifacts@1 inputs:#CopyRoot: # string. Copy Root. Contents:# string. Required. Contents. ArtifactName:# string. Required. Artifact Name. ArtifactType:# 'Container' | 'FilePath'. Required. Artifact Type. #TargetPath: '\\my\share\$(Build.DefinitionName)\$(Build.BuildNumber)' # string. Optional. Use when ArtifactType = FilePath. Path. Default: \\my\share\$(Build.DefinitionName)\$(Build.BuildNumber).
Inputs
CopyRoot - Copy Root string.
The folder that contains the files you want to copy. If the folder is empty, the task copies files from the root folder of the repo as though $(Build.SourcesDirectory) was specified.
If your build produces artifacts outside of the sources directory, specify $(Agent.BuildDirectory) to copy files from the build agent working directory.
Contents - Contents string. Required.
Specifies pattern filters (one on each line) that you want to apply to the list of files to be copied. For example:
** copies all files in the root folder.
**\* copies all files in the root folder and all files in all sub-folders.
Pievienojieties meetup sērijai, lai kopā ar citiem izstrādātājiem un ekspertiem izveidotu mērogojamus AI risinājumus, kuru pamatā ir reālas lietošanas gadījumi.