Skip to content

Commit

Permalink
Generate Manifests alongside build artifacts (#26280)
Browse files Browse the repository at this point in the history
* adding artifact manifest before publishing of artifacts
  • Loading branch information
scbedd authored Jan 14, 2022
1 parent 6fe8515 commit 0df8a17
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions eng/pipelines/templates/jobs/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,16 @@ jobs:
ArtifactPath: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'packages'

- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 'Upload Package SBOM'
inputs:
BuildDropPath: $(Build.ArtifactStagingDirectory)

- template: /eng/common/pipelines/templates/steps/publish-artifact.yml
parameters:
ArtifactPath: '$(Build.ArtifactStagingDirectory)/_manifest'
ArtifactName: 'manifest'

- template: /eng/common/pipelines/templates/steps/detect-api-changes.yml
parameters:
Artifacts: ${{ parameters.Artifacts }}
Expand Down
3 changes: 2 additions & 1 deletion eng/pipelines/templates/variables/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ variables:
NUGET_PACKAGES: $(Pipeline.Workspace)/.nuget/packages/
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: 1
DOTNET_NOLOGO: 1
Package.EnableSBOMSigning: true

0 comments on commit 0df8a17

Please sign in to comment.