[VOL-5100] - periodic-voltha-test-bbsim

vars/installKind.groovy
vars/installKind.sh
-----------------------
  o ERR: installKind() not found.
  o Wrap vars script in a steps{} block for context.
  o installKail uses sh() directly which is an implicit steps block.

Change-Id: I43e815e6a8fd605a008af55b698be20cd703a62a
diff --git a/vars/installKind.groovy b/vars/installKind.groovy
index f3402aa..724c9ef 100644
--- a/vars/installKind.groovy
+++ b/vars/installKind.groovy
@@ -30,13 +30,19 @@
 def process(Map args)
 {
     String iam = getIam('process')
-    println("** ${iam}: ENTER")
+    Boolean ans = true
+
+    println("** ${iam}: ENTER branch=${args.branch}")
     println("args = " + args)
 
     // go install sigs.k8s.io/kind@v0.18.0
-    sh('./installKind.sh')
+    sh(
+	script: './installKind.sh',
+	returnStdout: true
+    )
+
     println("** ${iam}: LEAVE")
-    return
+    return(ans)
 }
 
 // -----------------------------------------------------------------------
@@ -65,6 +71,8 @@
 
     try
     {
+	// Will be passed in eventually
+	Map config = [debug :false, branch:branch]
         process(config)
     }
     catch (Exception err)