14 lines
612 B
YAML
14 lines
612 B
YAML
parameters:
|
|
artifactPath:
|
|
artifactFilter: '*'
|
|
condition: succeeded()
|
|
|
|
steps:
|
|
- powershell: |
|
|
Get-ChildItem -Path '${{ parameters.artifactPath }}' -File -filter '${{ parameters.artifactFilter }}' -ErrorAction SilentlyContinue |
|
|
Select-Object -ExpandProperty FullName |
|
|
ForEach-Object {
|
|
Write-Host "##vso[artifact.upload containerfolder=finalResults;artifactname=finalResults]$_"
|
|
}
|
|
displayName: Upload Final Artifacts ${{ parameters.artifactFilter }} from ${{ parameters.artifactPath }}
|
|
condition: ${{ parameters.condition }}
|