File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -462,18 +462,23 @@ pipeline {
462462 script {
463463 retry(3 ) { checkout scm }
464464 if (params. runAllDistributions || isBranch(' develop' ) || isBranch(' master' )) {
465- changedDistributionTests = sh(script :" python3 test/prob/getDependencies.py --pretend-all" , returnStdout :true ). trim(). split( ' \n ' ) . toList ()
465+ changedDistributionTests = sh(script :" python3 test/prob/getDependencies.py --pretend-all" , returnStdout :true ). trim(). readLines ()
466466 } else {
467- changedDistributionTests = sh(script :" python3 test/prob/getDependencies.py" , returnStdout :true ). trim(). split( ' \n ' ) . toList ()
467+ changedDistributionTests = sh(script :" python3 test/prob/getDependencies.py" , returnStdout :true ). trim(). readLines ()
468468 }
469469 }
470470 }
471471 }
472472
473473 stage (' Distribution tests' ) {
474474 when {
475- expression {
476- ! skipRemainingStages
475+ allOf {
476+ expression {
477+ ! skipRemainingStages
478+ }
479+ expression {
480+ ! changedDistributionTests. isEmpty()
481+ }
477482 }
478483 }
479484 agent { label ' linux && docker' }
You can’t perform that action at this time.
0 commit comments