Commands I'm using:
Port Forward:
kubectl port-forward -n test-ns --pod-running-timeout=4h $(kubectl get pods -n test-ns -o=name | grep test-env) 8721:36321 &
Take Data Dump:
mvn -s $JENKINS_HOME/.m2/amap-new_settings.xml -Dsettings.security=$JENKINS_HOME/.m2/settings-security.xml -Pcoverage jacoco:dump@integration-test -Dapp.host=localhost -Dapp.port=8721 -Dskip.dump=false
I suspect that there's some issue with the communication between the ports, but I'm unable to put a finger on the problem.
Please let me know what the issue could be or how I can troubleshoot it further. Thanks in advance.
Regards,
Swaroop