diff options
-rwxr-xr-x | netci.groovy | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/netci.groovy b/netci.groovy index c21552b489..6d0efa0440 100755 --- a/netci.groovy +++ b/netci.groovy @@ -357,7 +357,11 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os, } break case 'longgc': - // long GC jobs are triggered by phrase only. + assert (os == 'Ubuntu' || os == 'Windows_NT' || os == 'OSX') + assert configuration == 'Release' + assert architecture == 'x64' + Utilities.addPeriodicTrigger(job, '@daily') + addEmailPublisher(job, 'dotnetgctests@microsoft.com') break case 'ilrt': assert !(os in bidailyCrossList) @@ -504,7 +508,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os, } break case 'longgc': - if (configuration == 'Release' || configuration == 'Checked') { + if (configuration == 'Release') { Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Long-Running GC Build & Test", "(?i).*test\\W+${os}\\W+${configuration}\\W+${scenario}.*") } break @@ -666,7 +670,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os, } break case 'longgc': - if (configuration == 'Release' || configuration == 'Checked') { + if (configuration == 'Release') { Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Long-Running GC Build & Test", "(?i).*test\\W+${os}\\W+${configuration}\\W+${scenario}.*") } break @@ -857,7 +861,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os, } } else if (scenario == 'longgc') { if (os == 'Windows_NT'){ - if (configuration == 'Release' || configuration == 'Checked'){ + if (configuration == 'Release'){ Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Long-Running GC Build & Test", "(?i).*test\\W+${os}\\W+${architecture}\\W+${configuration}\\W+${scenario}.*") } } @@ -1008,14 +1012,15 @@ combinedScenarios.each { scenario -> } break case 'longgc': - if (os != 'Windows_NT') { + if (os != 'Windows_NT' && os != 'Ubuntu' && os != 'OSX') { return } - - // only x64 or x86 for now if (architecture != 'x64') { return } + if (configuration != 'Release') { + return + } break // We need Windows & Ubuntu x64 Release bits for the code coverage build case 'coverage': @@ -1436,8 +1441,8 @@ combinedScenarios.each { scenario -> } break case 'longgc': - //Skip configs that aren't Checked or Release (so just Debug, for now) - if (configuration != 'Checked' && configuration != 'Release') { + // Long GC tests take a long time on non-Release builds + if (configuration != 'Release') { return } break |