VOL-2827 Update periodic jobs for 2.3 release
Change-Id: I95efe673130080e2e61f26378a8da2c7f1abf937
diff --git a/jjb/pipeline/voltha-system-test-bbsim.groovy b/jjb/pipeline/voltha-system-test-bbsim.groovy
index e639d4a..0f674bd 100644
--- a/jjb/pipeline/voltha-system-test-bbsim.groovy
+++ b/jjb/pipeline/voltha-system-test-bbsim.groovy
@@ -66,6 +66,13 @@
stage('Deploy Voltha') {
steps {
sh """
+ if [ "${manifestBranch}" != "master" ]; then
+ echo "on branch: ${manifestBranch}, sourcing kind-voltha/releases/${manifestBranch}"
+ source "$HOME/kind-voltha/releases/${manifestBranch}"
+ else
+ echo "on master, using default settings for kind-voltha"
+ fi
+
pushd kind-voltha/
./voltha up
popd
@@ -77,7 +84,7 @@
steps {
sh '''
rm -rf $WORKSPACE/RobotLogs; mkdir -p $WORKSPACE/RobotLogs
- git clone https://gerrit.opencord.org/voltha-system-tests
+ git clone -b ${manifestBranch} 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}
'''
}