Changed SUITE env param to SUITE_PATTERN
Change-Id: I1b95a2f1299f73be41351ebfd0e9a697def2db04
diff --git a/src/com/mirantis/mk/Ruby.groovy b/src/com/mirantis/mk/Ruby.groovy
index 2357f59..cd68371 100644
--- a/src/com/mirantis/mk/Ruby.groovy
+++ b/src/com/mirantis/mk/Ruby.groovy
@@ -43,7 +43,7 @@
*/
def runKitchenTests(environment="", parallelTesting = true){
def common = new com.mirantis.mk.Common()
- def kitchenTests=runKitchenCommand("list -b 2>/dev/null \"\$SUITE\"", environment)
+ def kitchenTests=runKitchenCommand("list -b 2>/dev/null \"\$SUITE_PATTERN\"", environment)
if(kitchenTests && kitchenTests != ""){
def kitchenTestsList = kitchenTests.trim().tokenize("\n")
def kitchenTestRuns = [:]