1.tomcat 在/Users/{username}/Library/tomcat
2.add below info to catalina.sh,故tomcat所在的机器需要安装jacoco
JAVA_OPTS="$JAVA_OPTS -javaagent:/Users/frank.chen/Library/jacoco/lib/jacocoagent.jar=includes=*,output=tcpserver,address=*,port=8082 -Xverify:none"
3.jenkins node 需要安装java,maven,jacoco(/opt/jacoco)。且节点指定JAVA_HOME
1.端口变动需要修改catalina.sh中agent的端口和build.xml中的端口
2.tomcat server变动需要更改build.xml的server_ip