VOL-2827 Update periodic jobs for 2.3 release
Change-Id: I95efe673130080e2e61f26378a8da2c7f1abf937
diff --git a/jjb/pipeline/voltha-go-tests.groovy b/jjb/pipeline/voltha-go-tests.groovy
index 38efb38..20e9fc7 100644
--- a/jjb/pipeline/voltha-go-tests.groovy
+++ b/jjb/pipeline/voltha-go-tests.groovy
@@ -37,7 +37,6 @@
DEPLOY_K8S="y"
VOLTHA_LOG_LEVEL="DEBUG"
CONFIG_SADIS="n"
- EXTRA_HELM_FLAGS="--set log_agent.enabled=False ${params.extraHelmFlags}"
ROBOT_MISC_ARGS="${params.extraRobotArgs} -d $WORKSPACE/RobotLogs"
}
stages {
@@ -76,6 +75,15 @@
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
+
+ EXTRA_HELM_FLAGS+="--set log_agent.enabled=False ${params.extraHelmFlags} "
+
cd $HOME/kind-voltha/
WAIT_ON_DOWN=y DEPLOY_K8S=n ./voltha down || ./voltha down
./voltha up