diff --git a/.pipelines/v2/templates/job-build-project.yml b/.pipelines/v2/templates/job-build-project.yml index b76bb11722..f5bb7300be 100644 --- a/.pipelines/v2/templates/job-build-project.yml +++ b/.pipelines/v2/templates/job-build-project.yml @@ -217,12 +217,6 @@ jobs: - ${{ parameters.beforeBuildSteps }} - - bash: | - az pipelines build list --organization '$(System.TeamFoundationCollectionUri)' --project '$(System.TeamProject)' - displayName: 'Show build list' - env: - AZURE_DEVOPS_EXT_PAT: $(System.AccessToken) - - task: VSBuild@1 ${{ if eq(parameters.runTests, true) }}: displayName: Build and Test PowerToys main project diff --git a/.pipelines/v2/templates/job-test-project.yml b/.pipelines/v2/templates/job-test-project.yml index 81c687ad4a..f5043bb655 100644 --- a/.pipelines/v2/templates/job-test-project.yml +++ b/.pipelines/v2/templates/job-test-project.yml @@ -61,13 +61,22 @@ jobs: reg add "HKLM\Software\Policies\Microsoft\Edge\WebView2\ReleaseChannels" /v PowerToys.exe /t REG_SZ /d "3" displayName: "Enable WebView2 Canary Channel" - - download: current - displayName: Download artifacts - artifact: $(TestArtifactsName) - patterns: |- - ** - !**\*.pdb - !**\*.lib + # - download: current + # displayName: Download artifacts + # artifact: $(TestArtifactsName) + # patterns: |- + # ** + # !**\*.pdb + # !**\*.lib + + - bash: | + az pipelines runs artifact download + --artifact-name $(TestArtifactsName) + --path "$(Pipeline.Workspace)" + --run-id $(Build.BuildId) + displayName: 'Download Pipeline Artifact' + env: + AZURE_DEVOPS_EXT_PAT: $(System.AccessToken) - template: steps-ensure-dotnet-version.yml parameters: