Fix function call
Change-Id: Ibaf258be9b70b0c6f89eff3eaea9aa6c4c3081ff
diff --git a/test-salt-formulas-pipeline.groovy b/test-salt-formulas-pipeline.groovy
index 487c84c..b826125 100644
--- a/test-salt-formulas-pipeline.groovy
+++ b/test-salt-formulas-pipeline.groovy
@@ -106,9 +106,11 @@
wrap([$class: 'AnsiColorBuildWrapper']) {
if(kitchenEnvs && !kitchenEnvs.isEmpty()){
for(int i=0;i<kitchenEnvs.size();i++){
- filteredEnvs[i] = filterKitchenEnvs(kitchenEnvs[i])
+ filteredEnvs[i] = common.filterKitchenEnvs(kitchenEnvs[i])
}
filteredEnvs = filteredEnvs.unique()
+ /* common.infoMsg("Found multiple environment, first running kitchen without custom env")
+ ruby.runKitchenTests("", KITCHEN_TESTS_PARALLEL.toBoolean()) */
for(int i=0;i<filteredEnvs.size();i++){
common.infoMsg("Found multiple environment, kitchen running with env: " + filteredEnvs[i])
ruby.runKitchenTests(filteredEnvs[i], KITCHEN_TESTS_PARALLEL.toBoolean())