Update build.yml
This commit is contained in:
parent
31b5a5b1d2
commit
2dc5249cf9
1 changed files with 9 additions and 10 deletions
|
@ -18,6 +18,15 @@ parameters:
|
||||||
enablePublishUsingPipelines: true
|
enablePublishUsingPipelines: true
|
||||||
|
|
||||||
phases:
|
phases:
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/release/7.0.1xx')))) }}:
|
||||||
|
- template: /eng/common/templates/job/onelocbuild.yml
|
||||||
|
parameters:
|
||||||
|
CreatePr: true
|
||||||
|
LclSource: lclFilesfromPackage
|
||||||
|
LclPackageId: 'LCL-JUNO-PROD-DOTNETINSTALLER'
|
||||||
|
MirrorBranch: release/7.0.1xx
|
||||||
|
MirrorRepo: sdk
|
||||||
|
|
||||||
- template: /eng/common/templates/job/job.yml
|
- template: /eng/common/templates/job/job.yml
|
||||||
parameters:
|
parameters:
|
||||||
${{ if parameters.pgoInstrument }}:
|
${{ if parameters.pgoInstrument }}:
|
||||||
|
@ -168,13 +177,3 @@ phases:
|
||||||
publishLocation: Container
|
publishLocation: Container
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
condition: always()
|
condition: always()
|
||||||
|
|
||||||
jobs:
|
|
||||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/release/7.0.1xx')))) }}:
|
|
||||||
- template: /eng/common/templates/job/onelocbuild.yml
|
|
||||||
parameters:
|
|
||||||
CreatePr: true
|
|
||||||
LclSource: lclFilesfromPackage
|
|
||||||
LclPackageId: 'LCL-JUNO-PROD-DOTNETINSTALLER'
|
|
||||||
MirrorBranch: release/7.0.1xx
|
|
||||||
MirrorRepo: sdk
|
|
||||||
|
|
Loading…
Reference in a new issue