Skip to content

Commit 67df30a

Browse files
raujaiswalazure-pipelines-bot
andauthored
Add SBOM Generation to Courtesy Push Artifacts (#21125)
* Enable SBOM generation: produce manifest\spdx_2.2\manifest.spdx.json in Courtesy Push artifact * updated minor version of task to test artifacts generated with Sbom enabled. * added PowerShellOnTargetMachinesV1 on make-options.json * Revert "added PowerShellOnTargetMachinesV1 on make-options.json" This reverts commit 3249f9a. Revert "updated minor version of task to test artifacts generated with Sbom enabled." This reverts commit 31cb417. * updated minor version of VsTestV1 task to test artifacts generated with Sbom enabled. * Revert "updated minor version of VsTestV1 task to test artifacts generated with Sbom enabled." This reverts commit d23f72e. * Upgrade VsTestV2 version to validate SBOM presence in generated artifact * added sbomBuildDropPath * added sbomBuildDropPath in build_all_tasks_for_deployments Job * Updated the task version to test the YAML task release pipeline. * updated version in task.loc.json * Reverted back the task version which was used for the testing purpose. * removed extra space --------- Co-authored-by: azure-pipelines-bot <[email protected]>
1 parent fd884b2 commit 67df30a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ extends:
9292
autoBaseline: false
9393
sdl:
9494
sbom:
95-
enabled: false
95+
enabled: true
9696
baseline:
9797
baselineSet: default
9898
baselineFile: $(Build.SourcesDirectory)/.gdn/.gdnbaselines
@@ -130,6 +130,7 @@ extends:
130130
)
131131
PathtoPublish: _package/tasks.zip
132132
ArtifactName: package
133+
sbomBuildDropPath: $(Build.SourcesDirectory)/_package
133134
steps:
134135
- template: /ci/build-all-steps.yml@self
135136
parameters:
@@ -214,6 +215,7 @@ extends:
214215
- output: buildArtifacts
215216
displayName: 'Publish package artifact'
216217
PathtoPublish: _package/tasks.zip
218+
sbomBuildDropPath: $(Build.SourcesDirectory)/_package
217219
ArtifactName: allTasks
218220
steps:
219221
- template: /ci/build-all-tasks.yml@self

0 commit comments

Comments
 (0)