Don't do r2r-jitstress jobs for non Checked configurations.
authorLubomir Litchev <lubol@microsoft.com>
Thu, 26 May 2016 03:27:50 +0000 (20:27 -0700)
committerLubomir Litchev <lubol@microsoft.com>
Thu, 26 May 2016 15:32:31 +0000 (08:32 -0700)
netci.groovy

index 5440ff9..8d28676 100755 (executable)
@@ -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' &&