Run gcstress pri1r2r only a few times a week
authorMatt Mitchell <mmitche@microsoft.com>
Fri, 13 May 2016 17:19:57 +0000 (10:19 -0700)
committerMatt Mitchell <mmitche@microsoft.com>
Fri, 13 May 2016 17:19:57 +0000 (10:19 -0700)
Currently this is set on push, but since it can take days to run this is a bad idea

netci.groovy

index 0661e0e..2aa0fc6 100755 (executable)
@@ -363,13 +363,14 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
                     if (architecture == 'x64') {
                         //Flow jobs should be Windows, Ubuntu, OSX, or CentOS
                         if (isFlowJob || os == 'Windows_NT') {
-                            Utilities.addGithubPushTrigger(job)
+                            // Add a weekly periodic trigger
+                            Utilities.addPeriodicTrigger(job, 'H H * * 3,6') // some time every Wednesday and Saturday
                         }
                     }
                     // For x86, only add per-commit jobs for Windows
                     else if (architecture == 'x86ryujit' || architecture == 'x86lb') {
                         if (os == 'Windows_NT') {
-                            Utilities.addGithubPushTrigger(job)
+                            Utilities.addPeriodicTrigger(job, 'H H * * 3,6') // some time every Wednesday and Saturday
                         }
                     }
                 }