Relase build only for ilasm round trip tests in CI
authorKyungwoo Lee <kyulee@microsoft.com>
Wed, 29 Jun 2016 14:41:41 +0000 (07:41 -0700)
committerKyungwoo Lee <kyulee@microsoft.com>
Wed, 29 Jun 2016 14:41:41 +0000 (07:41 -0700)
This eliminates spurious job display in Jenkins web which is unnecessary.

Commit migrated from https://github.com/dotnet/coreclr/commit/899e9ef43b625920dd224e02ad534ad5334d9fbd

src/coreclr/netci.groovy

index 5463b78..15d4e34 100755 (executable)
@@ -1349,6 +1349,10 @@ combinedScenarios.each { scenario ->
                                 if (architecture != 'x64') {
                                     return
                                 }
+                                // Release only
+                                if (configuration != 'Release') {
+                                    return
+                                }
                                 break
                             case 'r2r':
                                 // The r2r build isn't necessary except for Windows_NT.  Non-Windows NT uses
@@ -1844,6 +1848,10 @@ combinedScenarios.each { scenario ->
                                 // Nothing skipped
                                 break
                             case 'ilrt':
+                                // Release only
+                                if (configuration != 'Release') {
+                                    return
+                                }
                                 break
                             case 'r2r':
                                 //Skip configs that aren't Checked or Release (so just Debug, for now)