Skip to content

Commit

Permalink
Add -winBlue to Jenkins testExtra params for Windows build tasks runn…
Browse files Browse the repository at this point in the history
…ing on Server 2012 R2.
  • Loading branch information
dilijev committed Mar 10, 2017
1 parent f66dcaf commit bac12c4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions netci.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def msbuildTypeMap = [

// convert `machine` parameter to OS component of PR task name
def machineTypeToOSTagMap = [
'Windows 7': 'Windows 7',
'Windows_NT': 'Windows',
'Windows 7': 'Windows 7', // Windows Server 2008 R2, equivalent to Windows 7
'Windows_NT': 'Windows', // Windows Server 2012 R2, equivalent to Windows 8.1 (aka Blue)
'Ubuntu14.04': 'Ubuntu14.04',
'Ubuntu16.04': 'Ubuntu',
'OSX': 'OSX'
Expand Down Expand Up @@ -223,15 +223,15 @@ def CreateStyleCheckTasks = { taskString, taskName, checkName ->
// INNER LOOP TASKS
// ----------------

CreateBuildTasks('Windows_NT', null, null, null, true, null, null)
CreateBuildTasks('Windows_NT', null, null, "-winBlue", true, null, null)

// Add some additional daily configs to trigger per-PR as a quality gate:
// x64_debug Slow Tests
CreateBuildTask(true, 'x64', 'debug',
'Windows_NT', 'ci_slow', null, '-includeSlow', false, null, null)
'Windows_NT', 'ci_slow', null, '-winBlue -includeSlow', false, null, null)
// x64_debug DisableJIT
CreateBuildTask(true, 'x64', 'debug',
'Windows_NT', 'ci_disablejit', '"/p:BuildJIT=false"', '-disablejit', false, null, null)
'Windows_NT', 'ci_disablejit', '"/p:BuildJIT=false"', '-winBlue -disablejit', false, null, null)
// x64_debug Legacy
CreateBuildTask(true, 'x64', 'debug',
'Windows 7', 'ci_dev12', 'msbuild12', '-win7 -includeSlow', false, null, null)
Expand All @@ -250,15 +250,15 @@ if (!branch.endsWith('-ci')) {
'(dev12|legacy)\\s+tests')})

// build and test on the usual configuration (VS 2015) with -includeSlow
CreateBuildTasks('Windows_NT', 'daily_slow', null, '-includeSlow', false,
CreateBuildTasks('Windows_NT', 'daily_slow', null, '-winBlue -includeSlow', false,
/* excludeConfigIf */ null,
/* nonDefaultTaskSetup */ { newJob, isPR, config ->
DailyBuildTaskSetup(newJob, isPR,
"Windows ${config}",
'slow\\s+tests')})

// build and test on the usual configuration (VS 2015) with JIT disabled
CreateBuildTasks('Windows_NT', 'daily_disablejit', '"/p:BuildJIT=false"', '-disablejit', true,
CreateBuildTasks('Windows_NT', 'daily_disablejit', '"/p:BuildJIT=false"', '-winBlue -disablejit', true,
/* excludeConfigIf */ null,
/* nonDefaultTaskSetup */ { newJob, isPR, config ->
DailyBuildTaskSetup(newJob, isPR,
Expand Down

0 comments on commit bac12c4

Please sign in to comment.