Fixed test salt-models pipeline

Change-Id: I22ab7bf1c06cbaf01e115706552f268b4f00dee1
diff --git a/test-salt-models-pipeline.groovy b/test-salt-models-pipeline.groovy
index 2262cc2..704b622 100644
--- a/test-salt-models-pipeline.groovy
+++ b/test-salt-models-pipeline.groovy
@@ -131,9 +131,9 @@
       nodes = findFiles(glob: "cfg*.yml")
     }
 
-    for (int i = 0; i < nodes.size(); ++i) {
-      stage(nodes[i].getName()) {
-        testMaster(nodes[i] - '.yml')
+    stage("test") {
+      for (int i = 0; i < nodes.size(); i++) {
+          testMaster(nodes[i])
       }
     }