Restore Windows arm32/arm64 innerloop build jobs
authorBruce Forstall <brucefo@microsoft.com>
Thu, 28 Mar 2019 16:55:55 +0000 (09:55 -0700)
committerBruce Forstall <brucefo@microsoft.com>
Thu, 28 Mar 2019 17:37:39 +0000 (10:37 -0700)
These are required by the innerloop flow jobs.

netci.groovy

index 2b4355c..5728168 100755 (executable)
@@ -2541,19 +2541,16 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
 // Returns true if the job should be generated.
 def static shouldGenerateJob(def scenario, def isPR, def architecture, def configuration, def os, def isBuildOnly)
 {
+    def windowsArmJob = ((os == "Windows_NT") && (architecture in Constants.armWindowsCrossArchitectureList))
+
     // Innerloop jobs (except corefx_innerloop) are no longer created in Jenkins
-    if (isInnerloopTestScenario(scenario)) {
+    // The only exception is windows arm(64)
+    if (isInnerloopTestScenario(scenario) && isPR && !windowsArmJob) {
         assert scenario != 'corefx_innerloop'
         return false;
     }
 
     if (!isPR) {
-        if (scenario == 'corefx_innerloop') {
-            return false
-        }
-    }
-
-    if (!isPR) {
         if (isInnerloopTestScenario(scenario)) {
             return false
         }