[VOL-3580] Fix issue with re-install of OLT in master builds
Change-Id: Iec4e4a14850269f92b57d17c61cb08723a572f2e
diff --git a/Jenkinsfile-voltha-build b/Jenkinsfile-voltha-build
index 61e9f44..8fcf242 100644
--- a/Jenkinsfile-voltha-build
+++ b/Jenkinsfile-voltha-build
@@ -297,7 +297,7 @@
fi
if [[ "${branch}" == "master" ]] && [[ "${params.inBandManagement}" == "true" ]]; then
ssh-keyscan -H ${deployment_config.olts[i].sship} >> ~/.ssh/known_hosts
- sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].sship} 'kill -9 `pgrep -f "bash /opt/openolt/openolt_dev_mgmt_daemon_process_watchdog"` || true'
+ sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].sship} 'kill -9 `pgrep -f "[b]ash /opt/openolt/openolt_dev_mgmt_daemon_process_watchdog"` || true'
sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].sship} "dpkg --install ${deployment_config.olts[i].oltDebVersion}"
fi
if [[ "${branch}" == "master" ]] && [[ "${params.inBandManagement}" == "false" ]]; then