Stop creating Linux/x64 corefx flow jobs
authorBruce Forstall <brucefo@microsoft.com>
Thu, 28 Jun 2018 21:47:35 +0000 (14:47 -0700)
committerBruce Forstall <brucefo@microsoft.com>
Thu, 28 Jun 2018 21:47:35 +0000 (14:47 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/f71044ada28202c9524bfbd75330931f6d8830c5

src/coreclr/netci.groovy

index 27688b5..39aeff7 100755 (executable)
@@ -3496,6 +3496,7 @@ def static shouldGenerateFlowJob(def scenario, def isPR, def architecture, def c
     if (scenario == 'corefx_innerloop') {
         return false
     }
+
     // Filter based on OS and architecture.
 
     switch (architecture) {
@@ -3560,6 +3561,14 @@ def static shouldGenerateFlowJob(def scenario, def isPR, def architecture, def c
                 return false
             }
         }
+        else if (architecture == 'x64') {
+            // Linux/x64 corefx testing doesn't need a flow job; the "build" job runs run-corefx-tests.py which
+            // builds and runs the corefx tests. Other Linux/x64 flow jobs are required to get the test
+            // build from a Windows machine.
+            if (isCoreFxScenario(scenario)) {
+                return false
+            }
+        }
     }
 
     // For CentOS, we only want Checked/Release builds.