summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorMatt Mitchell <matchell@outlook.com>2016-03-18 10:23:13 -0700
committerMatt Mitchell <matchell@outlook.com>2016-03-18 10:23:13 -0700
commitc6332a950f02bf2625916f26c69d77e7dc5a4c7a (patch)
tree92716b436841281ca981fe1b76f73e8286d6815a /netci.groovy
parent16f33e9ec9dedebd42d9f55c2530f8d64a1b2de0 (diff)
downloadcoreclr-c6332a950f02bf2625916f26c69d77e7dc5a4c7a.tar.gz
coreclr-c6332a950f02bf2625916f26c69d77e7dc5a4c7a.tar.bz2
coreclr-c6332a950f02bf2625916f26c69d77e7dc5a4c7a.zip
Update label for arm and arm64 cross builds on Ubuntu
Update the label to the newer image which contains the required rootfs.
Diffstat (limited to 'netci.groovy')
-rw-r--r--netci.groovy4
1 files changed, 3 insertions, 1 deletions
diff --git a/netci.groovy b/netci.groovy
index 70b85602be..aed537c313 100644
--- a/netci.groovy
+++ b/netci.groovy
@@ -79,8 +79,10 @@ def static setMachineAffinity(def job, def os, def architecture) {
job.with {
label('arm64')
}
+ } else if ((architecture == 'arm' || architecture == 'arm64') && os == 'Ubuntu') {
+ Utilities.setMachineAffinity(job, os, 'arm-cross-latest');
} else {
- return Utilities.setMachineAffinity(job, os, 'latest-or-auto');
+ Utilities.setMachineAffinity(job, os, 'latest-or-auto');
}
}