File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ def static getBuildJobName(def configuration, def os) {
26
26
// Calculate the build command
27
27
if (os == ' Windows_NT' ) {
28
28
buildCommand = " .\\ build\\ cibuild.cmd -configuration $config "
29
- machineAffinity = ' latest-dev15-5 '
29
+ machineAffinity = ' Windows.10.Amd64.ClientRS4.DevEx.Open '
30
30
} else if (os == ' Windows_NT_FullFramework' ) {
31
31
buildCommand = " .\\ build\\ cibuild.cmd -configuration $config -fullMSBuild"
32
32
osBase = ' Windows_NT'
33
- machineAffinity = ' latest-dev15-5 '
33
+ machineAffinity = ' Windows.10.Amd64.ClientRS4.DevEx.Open '
34
34
} else {
35
35
// Jenkins non-Ubuntu CI machines don't have docker
36
36
buildCommand = " ./build/cibuild.sh --configuration $config "
@@ -50,7 +50,12 @@ def static getBuildJobName(def configuration, def os) {
50
50
}
51
51
}
52
52
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
+ }
54
59
Utilities . standardJobSetup(newJob, project, isPR, " */${ branch} " )
55
60
56
61
if (isPR) {
You can’t perform that action at this time.
0 commit comments