Re-enable Policheck, Skip test logs, reset timeout to 3 hours (#17107)

This commit is contained in:
William Godbe 2019-11-22 13:19:14 -08:00 committed by John Luo
parent bc1b9f020d
commit 2d799789fe
3 changed files with 7 additions and 3 deletions

View File

@ -639,7 +639,7 @@ stages:
publishInstallersAndChecksums: true publishInstallersAndChecksums: true
# This is to enable SDL runs part of Post-Build Validation Stage # This is to enable SDL runs part of Post-Build Validation Stage
SDLValidationParameters: SDLValidationParameters:
enable: false enable: true
continueOnError: false continueOnError: false
params: ' -SourceToolsList @("policheck","credscan") params: ' -SourceToolsList @("policheck","credscan")
-TsaInstanceURL $(_TsaInstanceURL) -TsaInstanceURL $(_TsaInstanceURL)
@ -650,4 +650,5 @@ stages:
-TsaIterationPath $(_TsaIterationPath) -TsaIterationPath $(_TsaIterationPath)
-TsaRepositoryName "AspNetCore" -TsaRepositoryName "AspNetCore"
-TsaCodebaseName "AspNetCore" -TsaCodebaseName "AspNetCore"
-TsaPublish $True' -TsaPublish $True
-PoliCheckAdditionalRunConfigParams @("UserExclusionPath < $(Build.SourcesDirectory)/eng/PoliCheckExclusions.xml")'

View File

@ -58,7 +58,7 @@ parameters:
installTar: true installTar: true
installNodeJs: true installNodeJs: true
installJdk: true installJdk: true
timeoutInMinutes: 270 timeoutInMinutes: 180
# We need longer than the default amount of 5 minutes to upload our logs/artifacts. (We currently take around 5 mins in the best case). # We need longer than the default amount of 5 minutes to upload our logs/artifacts. (We currently take around 5 mins in the best case).
# This makes sure we have time to upload everything in the case of a build timeout - really important for investigating a build # This makes sure we have time to upload everything in the case of a build timeout - really important for investigating a build

View File

@ -0,0 +1,3 @@
<PoliCheckExclusions>
<Exclusion Type="FolderPathFull">LINUX_TEST_RESULTS|MACOS_TEST_RESULTS|WINDOWS_TEST_RESULTS</Exclusion>
</PoliCheckExclusions>