@@ -25,13 +25,39 @@ parameters:
2525variables :
2626- name : _TeamName
2727 value : AspNetCore
28- - template : /eng/common/templates/variables/pool-providers.yml
29-
30- jobs :
31- - ${{ if and(ne(variables['System.TeamProject'], 'public'), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.Reason'], 'Manual'))) }} :
32- - template : /eng/common/templates/job/onelocbuild.yml
33- parameters :
34- CreatePr : ${{ or(ne(variables['Build.Reason'], 'Manual'), eq(parameters.createPr, 'true')) }}
35- LclPackageId : ' LCL-JUNO-PROD-ASPNETCORE'
36- LclSource : lclFilesFromPackage
37- MirrorRepo : aspnetcore
28+ - template : /eng/common/templates-official/variables/pool-providers.yml@self
29+
30+
31+ resources :
32+ repositories :
33+ # Repo: 1ESPipelineTemplates/1ESPipelineTemplates
34+ - repository : 1esPipelines
35+ type : git
36+ name : 1ESPipelineTemplates/1ESPipelineTemplates
37+ ref : refs/tags/release
38+
39+ extends :
40+ template : v1/1ES.Official.PipelineTemplate.yml@1esPipelines
41+ parameters :
42+ sdl :
43+ sourceAnalysisPool :
44+ name : NetCore1ESPool-Svc-Internal
45+ image : 1es-windows-2022
46+ os : windows
47+ codeql :
48+ compiled :
49+ enabled : false
50+ justificationForDisabling : ' This is a test-only pipeline. The same product code is already scanned in the main pipeline (aspnetcore-ci)'
51+
52+ stages :
53+ - stage : build
54+ displayName : Build
55+ jobs :
56+ - ${{ if and(ne(variables['System.TeamProject'], 'public'), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.Reason'], 'Manual'))) }} :
57+ - template : /eng/common/templates-official/job/onelocbuild.yml@self
58+ parameters :
59+ agentOs : Windows
60+ CreatePr : ${{ or(ne(variables['Build.Reason'], 'Manual'), eq(parameters.createPr, 'true')) }}
61+ LclPackageId : ' LCL-JUNO-PROD-ASPNETCORE'
62+ LclSource : lclFilesFromPackage
63+ MirrorRepo : aspnetcore
0 commit comments