使用jenkins 调用构建java 项目的时候,运行比较慢,最后查找与原因,是需要修改其默认的参数,修改之后构建速度提升较大

Alternatively, in the $JAVA_HOME/jre/lib/security/java.security configuration file, add the line

securerandom.source=file:/dev/./urandom 


参考:

https://docs.oracle.com/cd/E13209_01/wlcp/wlss30/configwlss/jvmrand.html