Commit 0f6a01b
[build] Fix BinSkim failure in 'Convert NuGet to MSI' job (#10961)
The 'Convert NuGet to MSI' job fails with:
Could not parse glob pattern D:\a\_work\1\s\bin\Build*\**
BINSKIM : error ERR997.NoValidAnalysisTargets : No valid analysis targets were specified.
This happens because the 1ES template applies sdl.binskim config globally
to all jobs. The analyzeTargetGlob pattern 'bin\Build*\**' only matches
build/test job output directories, but the MSI conversion job has no
bin\Build*\ directory — it produces output under bin\msi-nupkgs\ instead.
Add bin\msi-nupkgs\** to the glob so the MSI conversion job has valid
scan targets.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 1047b55 commit 0f6a01b
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
0 commit comments