Skip to content

Commit

Permalink
Fix artifact names.
Browse files Browse the repository at this point in the history
  • Loading branch information
mandel-macaque committed May 13, 2024
1 parent b9d375c commit 2a7d83c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/devops/automation/templates/tests/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ steps:
- ${{ if or(contains(variables['Build.Reason'], 'ResourceTrigger'), contains(variables['Build.Reason'], 'BuildCompletion')) }}:
- download: macios
displayName: Download PkgsVersions.json
patterns: '**/PkgsVersions.json'
artifact: PkgsVersions

- download: macios
displayName: Download WorkloadRollback.json
patterns: '**/WorkloadRollback.json'
artifact: WorkloadRollback

- download: macios
displayName: Download packages
Expand Down
21 changes: 21 additions & 0 deletions tools/devops/automation/templates/tests/download-artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
steps:

- pwsh: |
if (Test-Path "$Env:SYSTEM_DEFAULTWORKINGDIRECTORY/Reports" -PathType Container) {
Remove-Item -Path "$Env:SYSTEM_DEFAULTWORKINGDIRECTORY/Reports" -Force -Recurse
}
displayName: "Remove artifacts"
condition: always()

# Download the test report to write the comment.
- task: DownloadPipelineArtifact@2
displayName: Download Test Summary
continueOnError: true # there are tests that do not have the test results, so far only the install_sources has it
inputs:
patterns: "**/TestSummary.md"
allowFailedBuilds: true
path: $(System.DefaultWorkingDirectory)\Reports

- pwsh:
Get-ChildItem $(System.DefaultWorkingDirectory)/Reports -Recurse
displayName: "Debug downloaded artifacts."

12 comments on commit 2a7d83c

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

Please sign in to comment.