From c5fa616bde68d39e24445add0d5350b09a21bd92 Mon Sep 17 00:00:00 2001 From: Liu Shilong Date: Mon, 20 Mar 2023 12:21:39 +0800 Subject: [PATCH] [ci] Allow partially succeeded builds to download. (#2709) --- .azure-pipelines/build-docker-sonic-vs-template.yml | 2 ++ .azure-pipelines/build-template.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.azure-pipelines/build-docker-sonic-vs-template.yml b/.azure-pipelines/build-docker-sonic-vs-template.yml index 602af8a32045..480d4ff3abb0 100644 --- a/.azure-pipelines/build-docker-sonic-vs-template.yml +++ b/.azure-pipelines/build-docker-sonic-vs-template.yml @@ -45,6 +45,7 @@ jobs: runVersion: 'latestFromBranch' runBranch: 'refs/heads/$(BUILD_BRANCH)' path: $(Build.ArtifactStagingDirectory)/download + allowPartiallySucceededBuilds: true displayName: "Download sonic swss common deb packages" - task: DownloadPipelineArtifact@2 inputs: @@ -55,6 +56,7 @@ jobs: runVersion: 'latestFromBranch' runBranch: 'refs/heads/$(BUILD_BRANCH)' path: $(Build.ArtifactStagingDirectory)/download + allowPartiallySucceededBuilds: true displayName: "Download sonic sairedis deb packages" - task: DownloadPipelineArtifact@2 inputs: diff --git a/.azure-pipelines/build-template.yml b/.azure-pipelines/build-template.yml index 4f6b4fa01fac..b56f6d48f60b 100644 --- a/.azure-pipelines/build-template.yml +++ b/.azure-pipelines/build-template.yml @@ -86,6 +86,7 @@ jobs: runVersion: 'latestFromBranch' runBranch: 'refs/heads/$(BUILD_BRANCH)' path: $(Build.ArtifactStagingDirectory)/download + allowPartiallySucceededBuilds: true patterns: | libswsscommon_1.0.0_${{ parameters.arch }}.deb libswsscommon-dev_1.0.0_${{ parameters.arch }}.deb @@ -99,6 +100,7 @@ jobs: runVersion: 'latestFromBranch' runBranch: 'refs/heads/$(BUILD_BRANCH)' path: $(Build.ArtifactStagingDirectory)/download + allowPartiallySucceededBuilds: true patterns: | libsaivs_*.deb libsaivs-dev_*.deb