2019-02-01 19:59:01 +01:00
|
|
|
parameters:
|
|
|
|
artifactPath:
|
|
|
|
artifactFilter: '*'
|
|
|
|
condition: succeeded()
|
2020-08-11 23:01:47 +02:00
|
|
|
artifactName: finalResults
|
2019-02-01 19:59:01 +01:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- powershell: |
|
|
|
|
Get-ChildItem -Path '${{ parameters.artifactPath }}' -File -filter '${{ parameters.artifactFilter }}' -ErrorAction SilentlyContinue |
|
|
|
|
Select-Object -ExpandProperty FullName |
|
|
|
|
ForEach-Object {
|
2020-08-11 23:01:47 +02:00
|
|
|
Write-Host "##vso[artifact.upload containerfolder=${{ parameters.artifactName }};artifactname=${{ parameters.artifactName }}]$_"
|
2019-02-01 19:59:01 +01:00
|
|
|
}
|
2020-08-11 23:01:47 +02:00
|
|
|
displayName: Upload ${{ parameters.artifactName }} Artifacts ${{ parameters.artifactFilter }} from ${{ parameters.artifactPath }}
|
2019-02-01 19:59:01 +01:00
|
|
|
condition: ${{ parameters.condition }}
|