Remove line that prints the /proc/{pid}/cmdline as that was probably
causing timeouts sometimes during build job and this line does not
add any significant value during the build job
Change-Id: I60825d6aad41e77c5f9a4d9b6c031fd4c55bb923
diff --git a/Jenkinsfile-voltha-build b/Jenkinsfile-voltha-build
index d401212..ef87e74 100644
--- a/Jenkinsfile-voltha-build
+++ b/Jenkinsfile-voltha-build
@@ -97,14 +97,12 @@
#Remove all while true; do kubectl port-forward ...done; rules
for port_fwd_id in `ps -ax | grep "port-forward" | grep -E "onos|voltha" | grep "while true"| awk '{print \$1}'`;
do
- cat /proc/\$port_fwd_id/cmdline 2>/dev/null
kill -9 \$port_fwd_id || true
done
#Remove all kubectl port-forward rules
for port_fwd_id in `ps -ax | grep "port-forward" | grep -E "onos|voltha" | awk '{print \$1}'`;
do
- cat /proc/\$port_fwd_id/cmdline 2>/dev/null
kill -9 \$port_fwd_id || true
done
"""