diff --git a/Documentation/OneLocBuild.md b/Documentation/OneLocBuild.md index 6ff500455d2..0cc4f6858a9 100644 --- a/Documentation/OneLocBuild.md +++ b/Documentation/OneLocBuild.md @@ -26,6 +26,7 @@ you will want to conditionalize this step with the following: - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: ``` To prevent OneLocBuild from running in the public project where it will fail. + 3. Run the pipeline you want to use OneLocBuild on your test branch. 4. Open a ticket with the localization team using [this template](https://ceapex.visualstudio.com/CEINTL/_workitems/create/Loc%20Request?templateId=60b0dcf9-9892-4910-934e-d5becddd1bc1&ownerId=c2e38d3d-0e9e-429f-955d-6e39fc6f0457). diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0bba4f3181d..31e3239b4d1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -26,6 +26,12 @@ stages: - stage: build displayName: Build jobs: + - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}: + - template: /eng/common/templates/job/onelocbuild.yml + parameters: + MirrorRepo: arcade + LclSource: lclFilesFromPackage + LclPackageId: 'LCL-JUNO-PROD-ARCADE' - template: /eng/common/templates/jobs/jobs.yml parameters: artifacts: