@@ -55,7 +55,10 @@ stages:
55
55
ob_outputDirectory : ' $(REPOROOT)\out'
56
56
ob_sdl_codeSignValidation_excludes : ' -|**\Release\**;-|**\packages\**'
57
57
ob_artifactBaseName : " FoundationBinaries_$(buildConfiguration)_$(buildPlatform)"
58
- ob_sdl_apiscan_enabled : true
58
+ ${{ if parameters.runStaticAnalysis }} :
59
+ ob_sdl_apiscan_enabled : true
60
+ ${{ if not( parameters.runStaticAnalysis ) }} :
61
+ ob_sdl_apiscan_enabled : false
59
62
ob_sdl_apiscan_softwareFolder : ' $(build.SourcesDirectory)\APIScanTarget'
60
63
ob_sdl_apiscan_symbolsFolder : ' $(build.SourcesDirectory)\APIScanTarget;SRV*http://symweb'
61
64
steps :
@@ -79,7 +82,10 @@ stages:
79
82
ob_outputDirectory : ' $(REPOROOT)\out'
80
83
ob_sdl_codeSignValidation_excludes : ' -|**\Release\**'
81
84
ob_artifactBaseName : " FoundationBinaries_release_anycpu"
82
- ob_sdl_apiscan_enabled : true
85
+ ${{ if parameters.runStaticAnalysis }} :
86
+ ob_sdl_apiscan_enabled : true
87
+ ${{ if not( parameters.runStaticAnalysis ) }} :
88
+ ob_sdl_apiscan_enabled : false
83
89
ob_sdl_apiscan_softwareFolder : ' $(build.SourcesDirectory)\BuildOutput\Release\AnyCPU'
84
90
ob_sdl_apiscan_symbolsFolder : ' $(build.SourcesDirectory)\BuildOutput\Release\AnyCPU;SRV*http://symweb'
85
91
steps :
@@ -122,7 +128,10 @@ stages:
122
128
ob_sdl_suppression_suppressionFile : $(Build.SourcesDirectory)\dev\MRTCore\.gdn\mrt.gdnsuppress # This value is set on the job cdpx_engine, it will override the global gdnsuppress for this job
123
129
ob_sdl_suppression_suppressionSet : default
124
130
ob_artifactBaseName : " MrtBinaries_$(buildConfiguration)_$(buildPlatform)"
125
- ob_sdl_apiscan_enabled : true
131
+ ${{ if parameters.runStaticAnalysis }} :
132
+ ob_sdl_apiscan_enabled : true
133
+ ${{ if not( parameters.runStaticAnalysis ) }} :
134
+ ob_sdl_apiscan_enabled : false
126
135
ob_sdl_apiscan_softwareFolder : ' $(build.SourcesDirectory)\APIScanTarget'
127
136
ob_sdl_apiscan_symbolsFolder : ' $(build.SourcesDirectory)\APIScanTarget;SRV*http://symweb'
128
137
steps :
0 commit comments