summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorMatt Mitchell <mmitche@microsoft.com>2017-04-04 08:29:26 -0700
committerGitHub <noreply@github.com>2017-04-04 08:29:26 -0700
commit13b43782ca7cf4447e27a86f2082fa62ef03bea5 (patch)
treee00705c708d6dd0f27047c7dafa95e501280c5e6 /netci.groovy
parent8525460327cc2967cf30364588ce981b81ce2727 (diff)
downloadcoreclr-13b43782ca7cf4447e27a86f2082fa62ef03bea5.tar.gz
coreclr-13b43782ca7cf4447e27a86f2082fa62ef03bea5.tar.bz2
coreclr-13b43782ca7cf4447e27a86f2082fa62ef03bea5.zip
Use setMachineAffinity for arm64 (#10558)
Diffstat (limited to 'netci.groovy')
-rwxr-xr-xnetci.groovy5
1 files changed, 1 insertions, 4 deletions
diff --git a/netci.groovy b/netci.groovy
index 2883e8ab5c..d82e2d62d1 100755
--- a/netci.groovy
+++ b/netci.groovy
@@ -143,10 +143,7 @@ class Constants {
def static setMachineAffinity(def job, def os, def architecture) {
if (architecture == 'arm64' && os == 'Windows_NT') {
- // For cross compilation
- job.with {
- label('arm64')
- }
+ Utilities.setMachineAffinity(job, os, 'latest-arm64');
} else if (architecture == 'arm64' && os == 'Ubuntu') {
Utilities.setMachineAffinity(job, os, 'arm-cross-latest');
} else if ((architecture == 'arm') && (os == 'Ubuntu' || os == 'Ubuntu16.04' || os == 'Tizen')) {