From c6332a950f02bf2625916f26c69d77e7dc5a4c7a Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Fri, 18 Mar 2016 10:23:13 -0700 Subject: Update label for arm and arm64 cross builds on Ubuntu Update the label to the newer image which contains the required rootfs. --- netci.groovy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'netci.groovy') 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'); } } -- cgit v1.2.3