Merge pull request #7027 from dotnet/dev/bozturk/enable-policheck
Enable policheck
This commit is contained in:
commit
074b436c3d
1 changed files with 13 additions and 0 deletions
13
.vsts-ci.yml
13
.vsts-ci.yml
|
@ -22,6 +22,7 @@ variables:
|
||||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
- group: DotNet-DotNetCli-Storage
|
- group: DotNet-DotNetCli-Storage
|
||||||
- group: DotNet-Blob-Feed
|
- group: DotNet-Blob-Feed
|
||||||
|
- group: DotNet-Installer-SDLValidation-Params
|
||||||
- name: _PublishUsingPipelines
|
- name: _PublishUsingPipelines
|
||||||
value: true
|
value: true
|
||||||
|
|
||||||
|
@ -223,6 +224,18 @@ stages:
|
||||||
# This repo doesn't produce any signed packages.
|
# This repo doesn't produce any signed packages.
|
||||||
enableSigningValidation: false
|
enableSigningValidation: false
|
||||||
publishInstallersAndChecksums: true
|
publishInstallersAndChecksums: true
|
||||||
|
SDLValidationParameters:
|
||||||
|
enable: true
|
||||||
|
params: ' -SourceToolsList @("policheck","credscan")
|
||||||
|
-TsaInstanceURL $(_TsaInstanceURL)
|
||||||
|
-TsaProjectName $(_TsaProjectName)
|
||||||
|
-TsaNotificationEmail $(_TsaNotificationEmail)
|
||||||
|
-TsaCodebaseAdmin $(_TsaCodebaseAdmin)
|
||||||
|
-TsaBugAreaPath $(_TsaBugAreaPath)
|
||||||
|
-TsaIterationPath $(_TsaIterationPath)
|
||||||
|
-TsaRepositoryName "dotnet-installer"
|
||||||
|
-TsaCodebaseName "dotnet-installer"
|
||||||
|
-TsaPublish $True'
|
||||||
|
|
||||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), not(contains(variables['Build.SourceBranch'], 'refs/heads/internal/'))) }}:
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), not(contains(variables['Build.SourceBranch'], 'refs/heads/internal/'))) }}:
|
||||||
- stage: copy_to_latest
|
- stage: copy_to_latest
|
||||||
|
|
Loading…
Reference in a new issue