[VOL-3813] Update pipeline for parameterized installation of the BBSim
Change-Id: I4263678b79d07c4a3fdcb4d7d587058f3dc4e1e0
diff --git a/Jenkinsfile-voltha-build b/Jenkinsfile-voltha-build
index 5f2c5cc..24d6d14 100644
--- a/Jenkinsfile-voltha-build
+++ b/Jenkinsfile-voltha-build
@@ -151,6 +151,10 @@
else
./voltha up
fi
+ # Install BBSim when the parameter is checked
+ if ( ${installBBSim} ); then
+ helm upgrade --install -n voltha bbsim0 onf/bbsim --set olt_id=1 --set onu=${onuNumber},pon=${ponNumber}
+ fi
kubectl get pods --all-namespaces -o jsonpath="{range .items[*].status.containerStatuses[*]}{.image}{'\\t'}{.image}{'\\n'}" | sort | uniq
kubectl get pods --all-namespaces -o jsonpath="{range .items[*].status.containerStatuses[*]}{.image}{'\\t'}{.imageID}{'\\n'}" | sort | uniq