Add Ubuntu16.04 runs.
authorLakshmi Priya Sekar <lasekar@microsoft.com>
Tue, 26 Apr 2016 20:14:20 +0000 (13:14 -0700)
committerLakshmi Priya Sekar <lasekar@microsoft.com>
Tue, 26 Apr 2016 20:14:20 +0000 (13:14 -0700)
netci.groovy

index f8f5b97..c27e32b 100755 (executable)
@@ -13,6 +13,7 @@ def static getOSGroup(def os) {
     def osGroupMap = ['Ubuntu':'Linux',
         'RHEL7.2': 'Linux',
         'Ubuntu15.10': 'Linux',
+        'Ubuntu16.04': 'Linux',
         'Debian8.2':'Linux',
         'OSX':'OSX',
         'Windows_NT':'Windows_NT',
@@ -31,7 +32,7 @@ class Constants {
     // The Windows_NT_BuildOnly OS is a way to speed up the Non-NT builds temporarily by avoiding
     // test execution in the build flow runs.  It generates the exact same build
     // as Windows_NT but without the tests.
-    def static osList = ['Ubuntu', 'Debian8.2', 'OSX', 'Windows_NT', 'Windows_NT_BuildOnly', 'FreeBSD', 'CentOS7.1', 'OpenSUSE13.2', 'Ubuntu15.10', 'RHEL7.2', 'LinuxARMEmulator']
+    def static osList = ['Ubuntu', 'Debian8.2', 'OSX', 'Windows_NT', 'Windows_NT_BuildOnly', 'FreeBSD', 'CentOS7.1', 'OpenSUSE13.2', 'Ubuntu15.10', 'RHEL7.2', 'LinuxARMEmulator', 'Ubuntu16.04']
     def static crossList = ['Ubuntu', 'OSX', 'CentOS7.1', 'RHEL7.2', 'Debian8.2', 'OpenSUSE13.2']
     // This is a set of JIT stress modes combined with the set of variables that
     // need to be set to actually enable that stress mode.  The key of the map is the stress mode and
@@ -458,6 +459,11 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
                         Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Pri 1 Build & Test", "(?i).*test\\W+${os}\\W+${scenario}.*")
                     }
                     break
+                case 'Ubuntu16.04':
+                    assert !isFlowJob
+                    assert scenario == 'default'
+                    Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Build", '(?i).*test\\W+Ubuntu16\\.04.*')
+                    break
                 case 'Ubuntu15.10':
                     assert !isFlowJob
                     assert scenario == 'default'
@@ -1218,6 +1224,7 @@ combinedScenarios.each { scenario ->
                             break
                         case 'Ubuntu':
                         case 'Ubuntu15.10':
+                        case 'Ubuntu16.04':
                         case 'Debian8.2':
                         case 'OSX':
                         case 'FreeBSD':