Skip to content

Commit

Permalink
Generate SBOM manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
RussKie committed Feb 25, 2022
1 parent e9e5c8c commit 6ff2e5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eng/pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ jobs:
displayName: Upload coverage to codecov.io
condition: and(succeeded(), eq(variables._Coverage, 'true'))

# Generate SBOM for the internal leg only
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- template: ..\common\templates\steps\generate-sbom.yml
parameters:
name: Generate_SBOM_${{ parameters.name }}

- template: post-build.yml
parameters:
name: ${{ parameters.name }}

0 comments on commit 6ff2e5e

Please sign in to comment.