@@ -11,37 +11,33 @@ schedules:
1111 - main
1212 - releases/*
1313
14- pool :
15- name : d365bc-agentpool-nonprod-build
16-
1714resources :
1815 repositories :
19- - repository : PipelineTemplates
16+ - repository : 1ESPipelineTemplates
2017 type : git
21- name : Infrastructure-PipelineTemplates
22- ref : master
18+ name : 1ESPipelineTemplates/1ESPipelineTemplates
19+ ref : refs/heads/main
20+
21+ extends :
22+ template : v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
23+ parameters :
24+ pool :
25+ name : d365bc-agentpool-nonprod-1ESPT
26+ stages :
27+ - stage : ComponentGovernanceStage
28+ jobs :
29+ - job : ComponentGovernanceJob
30+ displayName : ' Component Governance'
31+ steps :
32+ - task : NuGetAuthenticate@1
2333
24- variables :
25- - template : security-tools-full-variables.yml@PipelineTemplates
26- - template : ./variables-common.yml
34+ - powershell : |
35+ cd $(Build.SourcesDirectory);
36+ .\build.ps1 -ALGoProject 'System Application' -AutoFill
37+ displayName: 'Build System Application'
2738
28- jobs :
29- - job : default_job
30- displayName : Run security tools
31- timeoutInMinutes : 480
32- steps :
33- - checkout : self
34- fetchTags : ' true'
35- - template : security-tools-full.yml@PipelineTemplates
36- parameters :
37- OutputPath : $(OutputPath)
38- SourcePath : $(SourcePath)
39- BuildCommand : Powershell.exe -NonInteractive "cd $(Build.SourcesDirectory); .\build.ps1 -ALGoProject 'System Application' -AutoFill"
40- GdnSuppressFile : $(Build.SourcesDirectory)\.azuredevops\security-tools.gdnsuppress
41- ExcludeSecurityTools :
42- - CodeSignValidation # Not applicable yet (Code is not signed on Github)
43- IncludeOfficialBuildTools :
44- - ComponentGovernance
45- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }} :
46- TSA : true
47- TSAIncludeTools : ' PoliCheck'
39+ - task : ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
40+ displayName : ' Component Detection'
41+ inputs :
42+ sourceScanPath : $(Agent.BuildDirectory)/s/Actions
43+ verbosity : ' Verbose'
0 commit comments