Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,13 @@ extends:
PathtoPublish: '$(Build.SourcesDirectory)/artifacts/TestResults/Release'
ArtifactName: TestResults
condition: failed()

# Remove generated test projects from the compatibility matrix because they use older versions of our packages
# and some of them use dependencies that are now vulnerable.
# We don't depend on those vulnerable versions anymore, but need to keep restoring them to ensure backwards compatibility.
- pwsh: |
Remove-Item -Path $(Build.SourcesDirectory)/artifacts/tmp/GeneratedTestAssets -Recurse -Force
displayName: Remove artifacts/tmp/GeneratedTestAssets

- task: 1ES.PublishBuildArtifacts@1
displayName: 'Publish VSSetup'
Expand Down Expand Up @@ -256,6 +263,13 @@ extends:
displayName: Test
env:
DOTNET_ROOT: $(Build.SourcesDirectory)/.dotnet

# Remove generated test projects from the compatibility matrix because they use older versions of our packages
# and some of them use dependencies that are now vulnerable.
# We don't depend on those vulnerable versions anymore, but need to keep restoring them to ensure backwards compatibility.
- pwsh: |
Remove-Item -Path $(Build.SourcesDirectory)/artifacts/tmp/GeneratedTestAssets -Recurse -Force
displayName: Remove artifacts/tmp/GeneratedTestAssets

# This step is only helpful for diagnosing some issues with vstest/test host that would not appear
# through the console or trx
Expand Down
Loading