Fixing some minor changes for SR migration

Change-Id: Ia90b51d0d385d8863b73aa9b803b83db1d3d0975
diff --git a/TestON/JenkinsFile/dependencies/JenkinsCommonFuncs.groovy b/TestON/JenkinsFile/dependencies/JenkinsCommonFuncs.groovy
index bbf12a4..b7c9c2e 100644
--- a/TestON/JenkinsFile/dependencies/JenkinsCommonFuncs.groovy
+++ b/TestON/JenkinsFile/dependencies/JenkinsCommonFuncs.groovy
@@ -86,11 +86,12 @@
 def fabricOn( branch ){
   // gets the fabric machines with the branch of onos.
   // branch : master, 1.12, 1.13...
-
+  // branch.reverse().take(4).reverse() will get last 4 characters of the string.
   switch( branch.reverse().take(4).reverse() ) {
-    case "master": return "4"
+    case "ster": return "4"
     case "1.13": return "2"
     case "1.12": return "3"
+    default: return "4"
   }
 }
 def printType(){