@@ -25,6 +25,12 @@ resources:
25
25
extends :
26
26
template : v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
27
27
parameters :
28
+ sdl :
29
+ policheck :
30
+ enabled : true
31
+ tsa :
32
+ enabled : true
33
+ configFile : ' $(Build.SourcesDirectory)/.config/tsaoptions.json'
28
34
pool :
29
35
name : $(DncEngInternalBuildPool)
30
36
image : 1es-windows-2022
@@ -152,27 +158,3 @@ extends:
152
158
publishLocation : ' Container'
153
159
parallel : true
154
160
155
- - ${{ if eq(variables._RunAsInternal, True) }} :
156
- - template : eng\common\templates-official\post-build\post-build.yml@self
157
- parameters :
158
- publishingInfraVersion : 3
159
- # signing validation will not run, even if the below value is 'true', if the 'PostBuildSign' variable is set to 'true'
160
- enableSigningValidation : false
161
- enableSourceLinkValidation : false
162
- publishDependsOn :
163
- - build
164
- # This is to enable SDL runs part of Post-Build Validation Stage
165
- SDLValidationParameters :
166
- enable : true
167
- continueOnError : false
168
- params : ' -SourceToolsList @("policheck","credscan")
169
- -TsaInstanceURL $(_TsaInstanceURL)
170
- -TsaProjectName $(_TsaProjectName)
171
- -TsaNotificationEmail $(_TsaNotificationEmail)
172
- -TsaCodebaseAdmin $(_TsaCodebaseAdmin)
173
- -TsaBugAreaPath $(_TsaBugAreaPath)
174
- -TsaIterationPath $(_TsaIterationPath)
175
- -TsaRepositoryName "cli-lab"
176
- -TsaCodebaseName "cli-lab"
177
- -TsaPublish $True
178
- -PoliCheckAdditionalRunConfigParams @("UserExclusionPath < $(Build.SourcesDirectory)/eng/PoliCheckExclusions.xml")'
0 commit comments