diff options
author | Matt Mitchell <mmitche@microsoft.com> | 2017-01-19 02:47:42 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-01-19 02:47:42 +0300 |
commit | 0a845a64d40bf8ec433183a550b62e1f8fefa996 (patch) | |
tree | d4b9cbcacd7566911f49fa1e5c71140eca8b5b0f | |
parent | 097568046b152e5954c8a1b8454191c7f69d97a5 (diff) |
Change the Ubuntu image to use one that has clang 3.9 (#2538)
-rw-r--r-- | netci.groovy | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/netci.groovy b/netci.groovy index 48367b641..20bef1863 100644 --- a/netci.groovy +++ b/netci.groovy @@ -8,6 +8,10 @@ def project = GithubProject // The input branch name (e.g. master) def branch = GithubBranchName +def imageVersionMap = ['Windows_NT':'latest-or-auto', + 'OSX':'latest-or-auto', + 'Ubuntu':'20170118'] + // Innerloop build OS's def osList = ['Ubuntu', 'OSX', 'Windows_NT'] @@ -65,7 +69,7 @@ def osList = ['Ubuntu', 'OSX', 'Windows_NT'] // This call performs test run checks for the CI. Utilities.addXUnitDotNETResults(newJob, '**/testResults.xml') - Utilities.setMachineAffinity(newJob, os, 'latest-or-auto') + Utilities.setMachineAffinity(newJob, os, imageVersionMap[os]) Utilities.standardJobSetup(newJob, project, isPR, "*/${branch}") if (isPR) { Utilities.addGithubPRTriggerForBranch(newJob, branch, prJobDescription) |