Skip to content

Commit 7cd1a97

Browse files
authored
Update Component Governance to reduce scanned directories for Build Extended template (#36994)
* update build_extended job to direct component detection to sdk/<servicedirectory>
1 parent 19c724b commit 7cd1a97

File tree

1 file changed

+3
-0
lines changed
  • eng/pipelines/templates/jobs

1 file changed

+3
-0
lines changed

eng/pipelines/templates/jobs/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ jobs:
130130
name: $(LINUXPOOL)
131131
image: $(LINUXVMIMAGE)
132132
os: linux
133+
134+
variables:
135+
ComponentDetection.SourcePath: '$(Build.SourcesDirectory)/sdk/${{ parameters.ServiceDirectory }}'
133136

134137
steps:
135138
- template: /eng/pipelines/templates/steps/download-package-artifacts.yml

0 commit comments

Comments
 (0)