Jenkins 的tomcat 日志基本都是说dns 的问题:
question: [DNSQuestion@251754929 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
question: [DNSQuestion@515297623 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
question: [DNSQuestion@1774851545 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
question: [DNSQuestion@72039330 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
google一下,需要在jenkins tomcat 的bin目录的catalina.sh 执行命令的时候添加
export JAVA_OPTS="-Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1"
参考资料:https://issues.jenkins-ci.org/browse/JENKINS-10160