You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: eng/pipelines/dotnet-sqlclient-signing-pipeline.yml
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -84,14 +84,22 @@ extends:
84
84
featureFlags:
85
85
WindowsHostVersion: 1ESWindows2022
86
86
globalSdl: # https://aka.ms/obpipelines/sdl
87
+
tsa:
88
+
# The OneBranch template will set 'break' to false for the other SDL
89
+
# tools when TSA is enabled. This allows TSA to gather the results
90
+
# and publish them for downstream analysis.
91
+
enabled: ${{parameters.enableAllSdlTools }}
87
92
apiscan:
88
-
enabled: ${{ not(parameters['isPreview']) }}
93
+
enabled: ${{parameters.enableAllSdlTools }}
94
+
# For non-official builds, the OneBranch template seems to set APIScan's
95
+
# 'break' to true even when TSA is enabled. We don't want APIScan to
96
+
# break non-official builds, so we explicitly set 'break' to false here.
97
+
${{ if ne(parameters.oneBranchType, 'Official') }}:
98
+
break: false
89
99
softwareFolder: $(softwareFolder)
90
100
symbolsFolder: $(symbolsFolder)
91
101
softwarename: Microsoft.Data.SqlClient
92
102
versionNumber: $(AssemblyFileVersion)
93
-
tsa:
94
-
enabled: ${{ not(parameters['isPreview']) }} # onebranch publish all sdl results to TSA. If TSA is disabled all SDL tools will forced into 'break' build mode.
0 commit comments