Add coreclr-outerloop build definition jobs (dotnet/coreclr#22578)
authorEgor Chesakov <Egor.Chesakov@microsoft.com>
Thu, 14 Feb 2019 16:20:06 +0000 (08:20 -0800)
committerGitHub <noreply@github.com>
Thu, 14 Feb 2019 16:20:06 +0000 (08:20 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/340c278f750a9e1127e66e17fe3ac3c125ead35f

eng/pipelines/coreclr/azure-pipelines.yml

index 77a2d01..8fb69c9 100644 (file)
@@ -94,7 +94,7 @@ jobs:
 #
 # Debug build (Pull Request)
 #
-- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:
+- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
   - template: eng/platform-matrix.yml
     parameters:
       jobTemplate: build-job.yml
@@ -110,9 +110,18 @@ jobs:
       buildConfig: checked
 
 #
-# Release build (Official Build, Pull Request)
+# Release build (Pull Request)
 #
-- ${{ if xor(eq(variables['System.TeamProject'], 'internal'), eq(variables['Build.Reason'], 'PullRequest')) }}:
+- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
+  - template: eng/platform-matrix.yml
+    parameters:
+      jobTemplate: build-job.yml
+      buildConfig: release
+
+#
+# Release build (Official Build)
+#
+- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
   - template: eng/platform-matrix.yml
     parameters:
       jobTemplate: build-job.yml
@@ -128,7 +137,7 @@ jobs:
 #
 
 # Pri0 (Pull Request)
-- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:
+- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
   - template: eng/platform-matrix.yml
     parameters:
       jobTemplate: test-job.yml
@@ -150,6 +159,23 @@ jobs:
         # "PerTest" corresponds to individual test running time (i.e. __TestTimeout).
         timeoutPerTestInMinutes: 10
 
+# Pri1 (Pull Request, Outerloop)
+- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-outerloop')) }}:
+  - template: eng/platform-matrix.yml
+    parameters:
+      jobTemplate: test-job.yml
+      buildConfig: checked
+      jobParameters:
+        priority: 1
+        scenarios:
+          asString: 'normal,no_tiered_compilation'
+          asArray:
+          - normal
+          - no_tiered_compilation
+        timeoutTotalInMinutes: 360
+        timeoutPerTestCollectionInMinutes: 60
+        timeoutPerTestInMinutes: 10
+
 # Pri1 (CI)
 - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) }}:
   - template: eng/platform-matrix.yml