VOL-2827 Make branch parameter uniform
Change-Id: I828acef94839b85f552a3e203339ab9d56519596
diff --git a/jjb/pipeline/voltha-system-test-bbsim.groovy b/jjb/pipeline/voltha-system-test-bbsim.groovy
index 6b0e44d..78786c6 100644
--- a/jjb/pipeline/voltha-system-test-bbsim.groovy
+++ b/jjb/pipeline/voltha-system-test-bbsim.groovy
@@ -66,9 +66,9 @@
steps {
sh """
EXTRA_HELM_FLAGS=""
- if [ "${manifestBranch}" != "master" ]; then
- echo "on branch: ${manifestBranch}, sourcing kind-voltha/releases/${manifestBranch}"
- source "$WORKSPACE/kind-voltha/releases/${manifestBranch}"
+ if [ "${branch}" != "master" ]; then
+ echo "on branch: ${branch}, sourcing kind-voltha/releases/${branch}"
+ source "$WORKSPACE/kind-voltha/releases/${branch}"
else
echo "on master, using default settings for kind-voltha"
fi
@@ -86,7 +86,7 @@
steps {
sh '''
rm -rf $WORKSPACE/RobotLogs; mkdir -p $WORKSPACE/RobotLogs
- git clone -b ${manifestBranch} https://gerrit.opencord.org/voltha-system-tests
+ git clone -b ${branch} https://gerrit.opencord.org/voltha-system-tests
make ROBOT_DEBUG_LOG_OPT="-l sanity_log.html -r sanity_report.html -o sanity_output.xml" -C $WORKSPACE/voltha-system-tests ${makeTarget}
'''
}