File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,16 @@ extends:
6262 enableSourceBuild : true
6363 helixRepo : dotnet/command-line-api
6464 timeoutInMinutes : 180 # increase timeout since BAR publishing might wait a long time
65- jobs :
66- - job : Windows
65+ templateContext :
6766 sdl :
6867 binskim :
69- analyzeTargetGlob : +:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;
68+ analyzeTargetGlob : +:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;-:f|artifacts\bin\**\xunit*.dll;-:f|artifacts\bin\**\verify*.dll;
69+ # WORKAROUND: BinSkim requires the folder exist prior to scanning.
70+ preSteps :
71+ - powershell : New-Item -ItemType Directory -Path $(Build.SourcesDirectory)/artifacts/bin -Force
72+ displayName : Create artifacts/bin directory
73+ jobs :
74+ - job : Windows
7075 pool :
7176 name : NetCore1ESPool-Internal
7277 demands : ImageOverride -equals windows.vs2022.amd64
You can’t perform that action at this time.
0 commit comments