@@ -40,7 +40,7 @@ variables:
4040 - name : SourceBranch
4141 value : ' '
4242 # Override SkipApplyOptimizationData to true when disabling OptProf data collection
43- - ${{ if eq(parameters.EnableOptProf , false) }} :
43+ - ${{ if eq(parameters.enableOptProf , false) }} :
4444 - name : SkipApplyOptimizationData
4545 value : true
4646 - name : EnableReleaseOneLocBuild
@@ -122,26 +122,15 @@ extends:
122122 displayName : Build
123123 jobs :
124124 - template : /azure-pipelines/.vsts-dotnet-build-jobs.yml@self
125+ parameters :
126+ isExperimental : false
127+ enableComponentGovernance : true
128+ enableOptProf : ${{ parameters.enableOptProf }}
125129
126130 - template : /eng/common/templates-official/post-build/post-build.yml@self
127131 parameters :
128132 publishingInfraVersion : 3
129133 enableSymbolValidation : true
130134 enableSourceLinkValidation : false
131135 enableNugetValidation : false
132- enableSigningValidation : ${{ parameters.enableSigningValidation }}
133- SDLValidationParameters :
134- enable : true
135- continueOnError : false
136- params : ' -SourceToolsList @("policheck","credscan")
137- -TsaInstanceURL "$(_TsaInstanceURL)"
138- -TsaProjectName "$(_TsaProjectName)"
139- -TsaNotificationEmail "$(_TsaNotificationEmail)"
140- -TsaCodebaseAdmin "$(_TsaCodebaseAdmin)"
141- -TsaBugAreaPath "$(_TsaBugAreaPath)"
142- -TsaIterationPath "$(_TsaIterationPath)"
143- -TsaRepositoryName "dotnet-msbuild"
144- -TsaCodebaseName "dotnet-msbuild"
145- -TsaPublish $True
146- -CrScanAdditionalRunConfigParams @("SuppressionsPath < $(Build.SourcesDirectory)\eng\CredScanSuppressions.json")
147- -PoliCheckAdditionalRunConfigParams @("UserExclusionPath < $(Build.SourcesDirectory)\eng\policheck_exclusions.xml")'
136+ enableSigningValidation : ${{ parameters.enableSigningValidation }}
0 commit comments