From bc806bdb0c42723aaddc8f115a3231f823d5ad6c Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Tue, 1 Feb 2022 08:49:37 -0800 Subject: [PATCH] Continue on error for CG --- eng/common/templates/job/job.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/eng/common/templates/job/job.yml b/eng/common/templates/job/job.yml index 5f0446d6601..30d1de5835e 100644 --- a/eng/common/templates/job/job.yml +++ b/eng/common/templates/job/job.yml @@ -139,6 +139,7 @@ jobs: - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(parameters.disableComponentGovernance, 'true')) }}: - task: ComponentGovernanceComponentDetection@0 + continueOnError: true - ${{ if eq(parameters.enableMicrobuild, 'true') }}: - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: