diff options
author | Matt Mitchell <matchell@outlook.com> | 2016-03-18 10:23:13 -0700 |
---|---|---|
committer | Matt Mitchell <matchell@outlook.com> | 2016-03-18 10:23:13 -0700 |
commit | c6332a950f02bf2625916f26c69d77e7dc5a4c7a (patch) | |
tree | 92716b436841281ca981fe1b76f73e8286d6815a /netci.groovy | |
parent | 16f33e9ec9dedebd42d9f55c2530f8d64a1b2de0 (diff) | |
download | coreclr-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.groovy | 4 |
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'); } } |