Skip to content

Commit 666f1ef

Browse files
author
Livar
authored
Merge pull request #2270 from dotnet/merges/release/2.1.4xx-to-master
Merge release/2.1.4xx to master
2 parents acfe394 + 1b647b4 commit 666f1ef

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

netci.groovy

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ def static getBuildJobName(def configuration, def os) {
2626
// Calculate the build command
2727
if (os == 'Windows_NT') {
2828
buildCommand = ".\\build\\cibuild.cmd -configuration $config"
29-
machineAffinity = 'latest-dev15-5'
29+
machineAffinity = 'Windows.10.Amd64.ClientRS4.DevEx.Open'
3030
} else if (os == 'Windows_NT_FullFramework') {
3131
buildCommand = ".\\build\\cibuild.cmd -configuration $config -fullMSBuild"
3232
osBase = 'Windows_NT'
33-
machineAffinity = 'latest-dev15-5'
33+
machineAffinity = 'Windows.10.Amd64.ClientRS4.DevEx.Open'
3434
} else {
3535
// Jenkins non-Ubuntu CI machines don't have docker
3636
buildCommand = "./build/cibuild.sh --configuration $config"
@@ -50,7 +50,12 @@ def static getBuildJobName(def configuration, def os) {
5050
}
5151
}
5252

53-
Utilities.setMachineAffinity(newJob, osBase, machineAffinity)
53+
if (os == 'Windows_NT' || os == 'Windows_NT_FullFramework') {
54+
Utilities.setMachineAffinity(newJob, machineAffinity)
55+
}
56+
else {
57+
Utilities.setMachineAffinity(newJob, osBase, machineAffinity)
58+
}
5459
Utilities.standardJobSetup(newJob, project, isPR, "*/${branch}")
5560

5661
if (isPR) {

0 commit comments

Comments
 (0)