Skip to content

Commit 0b4984f

Browse files
Specify custom cgIgnoreDirectories for source-build (#1350)
1 parent 48abe96 commit 0b4984f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

azure-pipelines/builds/ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ extends:
2525
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
2626
parameters:
2727
sdl:
28-
componentgovernance:
29-
# All of the SBRPs must be ignored because it is possible some of them are for vulnerable versions.
30-
# Because they are reference only packages they are not vulnerable themselves.
31-
ignoreDirectories: |
32-
artifacts/source-build/self,
33-
src/referencePackages
3428
sourceAnalysisPool:
3529
name: $(DncEngInternalBuildPool)
3630
image: 1es-windows-2022

azure-pipelines/templates/stages/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ stages:
1616
artifacts: true
1717
manifests: true
1818
enableSourceBuild: true
19+
sourceBuildParameters:
20+
cgIgnoreDirectories:
21+
- src/referencePackages
22+
- artifacts/source-build/self
1923
- template: /azure-pipelines/templates/jobs/generatescript-tests.yml
2024
parameters:
2125
imageOs: windows

0 commit comments

Comments
 (0)