Skip to content

Commit a33b5d3

Browse files
Put Secure supply chain analysis at correct place (#17273)
* Update releaseBuild.yml * Add nuget security analysis to where it should be * Add a display name * Update tools/releaseBuild/azureDevOps/releaseBuild.yml Co-authored-by: Aditya Patwardhan <adityap@microsoft.com> Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
1 parent 3bff8c0 commit a33b5d3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tools/releaseBuild/azureDevOps/releaseBuild.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ variables:
3434
value: 1
3535
- name: NugetSecurityAnalysisWarningLevel
3636
value: none
37+
# Prevents auto-injection of nuget-security-analysis@0
38+
- name: skipNugetSecurityAnalysis
39+
value: true
3740
- name: branchCounterKey
3841
value: $[format('{0:yyyyMMdd}-{1}', pipeline.startTime,variables['Build.SourceBranch'])]
3942
- name: branchCounter

tools/releaseBuild/azureDevOps/templates/insert-nuget-config-azfeed.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ steps:
2323
}
2424
displayName: 'Add nuget.config for Azure DevOps feed for packages'
2525
condition: and(succeededOrFailed(), ne(variables['PSInternalNugetFeed'], ''))
26+
27+
- task: nuget-security-analysis@0
28+
displayName: 'Run Secure Supply Chain analysis'
29+

0 commit comments

Comments
 (0)