Fix the cluster name on SR tests
Change-Id: I665b850e5b3730be82a421c91f747bd8e2ef8c03
diff --git a/TestON/JenkinsFile/JenkinsCommonFuncs.groovy b/TestON/JenkinsFile/JenkinsCommonFuncs.groovy
index 338f864..ae1f6ac 100644
--- a/TestON/JenkinsFile/JenkinsCommonFuncs.groovy
+++ b/TestON/JenkinsFile/JenkinsCommonFuncs.groovy
@@ -8,6 +8,7 @@
testMachine = "TestStation-" + machine + "s";
this.machine = machine
isSCPF = false
+ isTrend = true
generalFuncs.initBasicVars();
}
def initialize( type, SCPFfuncs ){
@@ -33,10 +34,12 @@
"USECASE" : "BM" ]
testType = type;
testMachine = "TestStation-" + machineType[ type ] + "s";
+ isTrend = false
generalFuncs.initBasicVars();
}
def additionalInitForSR( branch ){
testMachine = ( ( new StringBuilder( testMachine ) ).insert( testMachine.size()-1, fabricOn( branch ) ) ).toString()
+ ( isTrend ? machine : machineType[ testType ] ) += fabricOn(branch )
print testMachine
}
def fabricOn( branch ){