File tree Expand file tree Collapse file tree
.vsts-ci/windows/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 Build_Repository_Uri : $(build.repository.uri)
7171 displayName : SBOM
7272 sourceScanPath : ' $(repoPath)\tools'
73+ signSBOM : false
7374
7475 # This is needed as SBOM task removed the installed .NET and installs .NET 3.1
7576 - pwsh : |
7980 condition: succeeded()
8081 workingDirectory: $(repoPath)
8182
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+
8295 - pwsh : |
8396 Import-Module .\tools\ci.psm1
8497 New-CodeCoverageAndTestPackage
You can’t perform that action at this time.
0 commit comments