Skip to content

Commit

Permalink
sdl(all): Create SBOM for net packages (#2261)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamdavi committed Jan 11, 2022
1 parent 49e0854 commit f811e08
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions vsts/build-release-artifacts.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# update .csproj file versions and create a release branch/commit
name: BumpVersion_$(BuildID)_$(Date:yyyyMMdd)$(Rev:.r)
pool:
vmImage: windows-latest

phases:

- phase: Phase_1
jobs:
- job: Build
steps:
- task: EsrpClientTool@1
- task: DownloadBuildArtifacts@0
Expand All @@ -18,7 +19,7 @@ phases:

- checkout: self # self represents the repo where the initial Pipelines YAML file was found
persistCredentials: 'true' # set to 'true' to leave the OAuth token in the Git config after the initial fetch
clean: 'resources'
clean: true

- task: DownloadSecureFile@1
displayName: 'Download secure file - iothubsdksign-auth-base64.pfx'
Expand Down Expand Up @@ -91,6 +92,11 @@ phases:
ESRP_LOG_DIR: $(Build.StagingDirectory)/build-tools/csharp/new/logs
AZURE_IOT_LOCALPACKAGES: $(Build.StagingDirectory)/build-tools/csharp/nuget_local
- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 'SBOM Generation Task'
inputs:
BuildDropPath: '$(Build.SourcesDirectory)/bin/pkg'

- task: PublishBuildArtifacts@1
displayName: 'Publish Signed Nuget Packages'
inputs:
Expand Down

0 comments on commit f811e08

Please sign in to comment.