在部署到JBoss / WildFly 8时,我的Jenkins构建失败,导致Java堆空间问题。
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Alpha2:deploy (default-cli) on project Prometheus: Deployment failed: Operation failed: "JBAS014749: Operation handler failed: Java heap space" -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
每次发生部署到服务器时,我都必须重新启动JBoss / WildFly。请帮我解决问题,这样就不会妨碍我的自动化。