Skip to content

Commit

Permalink
CI: only perform tox stage for systems that are available
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Oct 11, 2023
1 parent 9fb7834 commit 8bbe0f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit 8bbe0f7

Please sign in to comment.