Added first kitchen run without custom env to formula testing
Change-Id: If06cb5d2d649de5a634bf7ee99788a78e3cbd62d
diff --git a/test-salt-formulas-pipeline.groovy b/test-salt-formulas-pipeline.groovy
index 4875a6c..cded75c 100644
--- a/test-salt-formulas-pipeline.groovy
+++ b/test-salt-formulas-pipeline.groovy
@@ -93,9 +93,11 @@
common.infoMsg(".travis.yml not found, running default kitchen init")
ruby.installKitchen()
}
+ common.infoMsg("Running kitchen testing, parallel mode: " + KITCHEN_TESTS_PARALLEL.toBoolean())
wrap([$class: 'AnsiColorBuildWrapper']) {
- common.infoMsg("Running kitchen testing, parallel mode: " + KITCHEN_TESTS_PARALLEL.toBoolean())
if(!kitchenEnvs.isEmpty()){
+ common.infoMsg("Found multiple environment, first running kitchen without custom env")
+ ruby.runKitchenTests("", KITCHEN_TESTS_PARALLEL.toBoolean())
for(int i=0;i<kitchenEnvs.size();i++){
common.infoMsg("Found multiple environment, kitchen running with env: " + kitchenEnvs[i])
ruby.runKitchenTests(kitchenEnvs[i], KITCHEN_TESTS_PARALLEL.toBoolean())