Merge "Fix typo in salt models pipeline"
diff --git a/test-salt-model-node.groovy b/test-salt-model-node.groovy
index 8ec3936..1329f17 100644
--- a/test-salt-model-node.groovy
+++ b/test-salt-model-node.groovy
@@ -12,6 +12,7 @@
 
 def common = new com.mirantis.mk.Common()
 def gerrit = new com.mirantis.mk.Gerrit()
+def ssh = new com.mirantis.mk.Ssh()
 def saltModelTesting = new com.mirantis.mk.SaltModelTesting()
 
 def defaultGitRef = DEFAULT_GIT_REF
diff --git a/test-salt-models-pipeline.groovy b/test-salt-models-pipeline.groovy
index 317cadd..1b6bdfa 100644
--- a/test-salt-models-pipeline.groovy
+++ b/test-salt-models-pipeline.groovy
@@ -78,8 +78,8 @@
         def branches = [:]
         for (int i = 0; i < nodes.size(); i++) {
 
-          def testTarget = sh(scipt: "basename ${nodes[i]}.yml", returnStdout: true).trim()
-          branches[${testTarget}] = {
+          def testTarget = sh(script: "basename ${nodes[i]}.yml", returnStdout: true).trim()
+          branches[testTarget] = {
             build job: "test-salt-model-node", parameters: [
               [$class: 'StringParameterValue', name: 'DEFAULT_GIT_URL', value: defaultGitUrl],
               [$class: 'StringParameterValue', name: 'DEFAULT_GIT_REF', value: defaultGitRef],