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 fi
C9E2
le line number
Diff line number
Diff line change
@@ -91,14 +91,22 @@ extends:
91
91
featureFlags:
92
92
WindowsHostVersion: 1ESWindows2022
93
93
globalSdl: # https://aka.ms/obpipelines/sdl
94
+
tsa:
95
+
# The OneBranch template will set 'break' to false for the other SDL
96
+
# tools when TSA is enabled. This allows TSA to gather the results
97
+
# and publish them for downstream analysis.
98
+
enabled: ${{parameters.enableAllSdlTools }}
94
99
apiscan:
95
-
enabled: ${{ not(parameters['isPreview']) }}
100
+
enabled: ${{parameters.enableAllSdlTools }}
101
+
# For non-official builds, the OneBranch template seems to set APIScan's
102
+
# 'break' to true even when TSA is enabled. We don't want APIScan to
103
+
# break non-official builds, so we explicitly set 'break' to false here.
104
+
${{ if ne(parameters.oneBranchType, 'Official') }}:
105
+
break: false
96
106
softwareFolder: $(softwareFolder)
97
107
symbolsFolder: $(symbolsFolder)
98
108
softwarename: Microsoft.Data.SqlClient
99
109
versionNumber: $(AssemblyFileVersion)
100
-
tsa:
101
-
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