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"
|
-TsaRepositoryName "dotnet-installer"
|
||||||
-TsaCodebaseName "dotnet-installer"
|
-TsaCodebaseName "dotnet-installer"
|
||||||
-TsaPublish $True'
|
-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
|
# Publish using pipelines
|
||||||
enablePublishUsingPipelines: true
|
enablePublishUsingPipelines: true
|
||||||
|
|
||||||
jobs:
|
phases:
|
||||||
- ${{ 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
|
|
||||||
|
|
||||||
- template: /eng/common/templates/job/job.yml
|
- template: /eng/common/templates/job/job.yml
|
||||||
parameters:
|
parameters:
|
||||||
${{ if parameters.pgoInstrument }}:
|
${{ if parameters.pgoInstrument }}:
|
||||||
|
|
Loading…
Reference in a new issue