From 6dcc70e2572a354e8de201ac3dff37f53825b9f0 Mon Sep 17 00:00:00 2001 From: Lubomir Litchev Date: Wed, 25 May 2016 20:27:50 -0700 Subject: [PATCH] Don't do r2r-jitstress jobs for non Checked configurations. --- netci.groovy | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/netci.groovy b/netci.groovy index 5440ff9..8d28676 100755 --- a/netci.groovy +++ b/netci.groovy @@ -1264,6 +1264,12 @@ combinedScenarios.each { scenario -> } } else { + // If this is a r2r jitstress, jitstressregs, jitminopts or forcerelocs scenario + // and configuration is not Checked, bail out. + if (configuration != 'Checked' && Constants.r2rJitStressScenarios.indexOf(scenario) != -1) { + return; + } + // Skip scenarios switch (scenario) { case 'pri1': @@ -1781,6 +1787,11 @@ combinedScenarios.each { scenario -> return } } + // If this is a r2r jitstress, jitstressregs, jitminopts or forcerelocs scenario + // and configuration is not Checked, bail out. + else if (configuration != 'Checked' && Constants.r2rJitStressScenarios.indexOf(scenario) != -1) { + return; + } // For CentOS, we only want Checked/Release pri1 builds. else if (os == 'CentOS7.1') { if (scenario != 'pri1' && -- 2.7.4