another-jenkins
Change-Id: I6d8e51d393d216217509093a74297d5905d22fea
diff --git a/TestON/JenkinsFile/JenkinsCommonFuncs.groovy b/TestON/JenkinsFile/JenkinsCommonFuncs.groovy
index 8d46ba7..338f864 100644
--- a/TestON/JenkinsFile/JenkinsCommonFuncs.groovy
+++ b/TestON/JenkinsFile/JenkinsCommonFuncs.groovy
@@ -36,7 +36,7 @@
generalFuncs.initBasicVars();
}
def additionalInitForSR( branch ){
- testMachine = ( ( new StringBuilder( testMachine ) ).insert( testMachine.length-1, fabricOn( branch ) ) ).toString()
+ testMachine = ( ( new StringBuilder( testMachine ) ).insert( testMachine.size()-1, fabricOn( branch ) ) ).toString()
print testMachine
}
def fabricOn( branch ){