parameters: artifacts: 'target/release' name: '' steps: - bash: | set -ex dst=$BUILD_ARTIFACTSTAGINGDIRECTORY rm -f ${{ parameters.artifacts }}/chit*.d rm -f ${{ parameters.artifacts }}/chit*.pdb cp ${{ parameters.artifacts }}/chit* $dst/ displayName: Create artifacts - task: PublishPipelineArtifact@0 inputs: artifactName: ${{ parameters.name }} targetPath: '$(Build.ArtifactStagingDirectory)'