From 8bbe0f7a010c4d187050d7557035eaedff51ab03 Mon Sep 17 00:00:00 2001 From: henry Date: Wed, 11 Oct 2023 11:40:28 -0500 Subject: [PATCH] CI: only perform tox stage for systems that are available --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c41c3af..5f552f8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -187,7 +187,7 @@ pipeline { '' ) def linuxJobs = [:] - if(nodesByLabel("linux && docker").size() > 0)){ + if(nodesByLabel("linux && docker").size() > 0){ linuxJobs = tox.getToxTestsParallel( envNamePrefix: 'Tox Linux', label: 'linux && docker', @@ -200,7 +200,7 @@ pipeline { echo 'No nodes with the following labels: linux && docker labels' } def windowsJobs = [:] - if(nodesByLabel("linux && docker").size() > 0)){ + if(nodesByLabel('windows && docker && x86').size() > 0){ windowsJobs = tox.getToxTestsParallel( envNamePrefix: 'Tox Windows', label: 'windows && docker && x86',