Since we are using auto-scaling, we don't know how many app servers with jacoco agent would be started at the beginning.So we need to run jacoco agent with output in tcpclient mode. We started a tcp server(implemented via java) in advance, and jacoco agents can connect to it. The question is when the execution data would be dumped to the tcp server?
It seems by default the execution data would be dumped when the app server shutdown.
Is there any mechanism that the server can dump the execution data from all jacoco agents on demand?
Or can I dump execution data via jacoco-maven-plugin on demand?