File tree 1 file changed +13
-0
lines changed
.vsts-ci/windows/templates
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 70
70
Build_Repository_Uri : $(build.repository.uri)
71
71
displayName : SBOM
72
72
sourceScanPath : ' $(repoPath)\tools'
73
+ signSBOM : false
73
74
74
75
# This is needed as SBOM task removed the installed .NET and installs .NET 3.1
75
76
- pwsh : |
79
80
condition: succeeded()
80
81
workingDirectory: $(repoPath)
81
82
83
+ - pwsh : |
84
+ $manifestFolder = Join-Path -Path '$(System.ArtifactsDirectory)/mainBuild' -ChildPath '_manifest'
85
+
86
+ if (-not (Test-Path $manifestFolder)) {
87
+ throw "_manifest folder does not exist under $(System.ArtifactsDirectory)/mainBuild"
88
+ }
89
+
90
+ $null = New-Item -Path "$manifestFolder/spdx_2.2/bsi.json" -Verbose -Force
91
+ $null = New-Item -Path "$manifestFolder/spdx_2.2/manifest.cat" -Verbose -Force
92
+
93
+ displayName: Create fake SBOM manifest signed files
94
+
82
95
- pwsh : |
83
96
Import-Module .\tools\ci.psm1
84
97
New-CodeCoverageAndTestPackage
You can’t perform that action at this time.
0 commit comments