Fix Ubuntu arm corefx triggers: no cron trigger on build job
authorBruce Forstall <brucefo@microsoft.com>
Tue, 24 Apr 2018 00:33:06 +0000 (17:33 -0700)
committerBruce Forstall <brucefo@microsoft.com>
Tue, 24 Apr 2018 00:33:06 +0000 (17:33 -0700)
netci.groovy

index 5749b9a..0e78449 100755 (executable)
@@ -1373,6 +1373,13 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def
             if (os in bidailyCrossList) {
                 break
             }
+            // ARM corefx testing uses non-flow jobs to provide the configuration-specific
+            // build for the flow job. We don't need cron jobs for these. Note that the
+            // Windows ARM jobs depend on a Windows "build only" job that exits the trigger
+            // function very early, so only non-Windows gets here.
+            if ((architecture == 'arm') && isCoreFxScenario(scenario) && !isFlowJob) {
+                break
+            }
             assert (os == 'Windows_NT') || (os in Constants.crossList)
             if (jobRequiresLimitedHardware(architecture, os)) {
                 addPeriodicTriggerHelper(job, '@weekly')