Move onelocbuild out of the build.yml file
This commit is contained in:
parent
3dc28600f7
commit
1614a27434
2 changed files with 10 additions and 10 deletions
|
@ -387,3 +387,12 @@ stages:
|
|||
-TsaRepositoryName "dotnet-installer"
|
||||
-TsaCodebaseName "dotnet-installer"
|
||||
-TsaPublish $True'
|
||||
|
||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/marcpopMSFT-enablelocbuild')) }}:
|
||||
- template: /eng/common/templates/job/onelocbuild.yml
|
||||
parameters:
|
||||
CreatePr: true
|
||||
LclSource: lclFilesfromPackage
|
||||
LclPackageId: 'LCL-JUNO-PROD-DOTNETINSTALLER'
|
||||
MirrorBranch: main
|
||||
MirrorRepo: sdk
|
|
@ -17,16 +17,7 @@ parameters:
|
|||
# Publish using pipelines
|
||||
enablePublishUsingPipelines: true
|
||||
|
||||
jobs:
|
||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/marcpopMSFT-enablelocbuild')) }}:
|
||||
- template: /eng/common/templates/job/onelocbuild.yml
|
||||
parameters:
|
||||
CreatePr: true
|
||||
LclSource: lclFilesfromPackage
|
||||
LclPackageId: 'LCL-JUNO-PROD-DOTNETINSTALLER'
|
||||
MirrorBranch: main
|
||||
MirrorRepo: sdk
|
||||
|
||||
phases:
|
||||
- template: /eng/common/templates/job/job.yml
|
||||
parameters:
|
||||
${{ if parameters.pgoInstrument }}:
|
||||
|
|
Loading…
Reference in a new issue