您好,我们有 2 个具有相同配置的 QA/Prod 环境(F5 和防火墙) 我可以使用部署到容器插件从 Jenkins 部署到 QA,但是使用相同的配置,我无法部署到 Prod (tomcat6)。异常:
ERROR: Build step failed with exception
org.codehaus.cargo.container.ContainerException: Failed to deploy[E:\opt\jenkins\workspace\Deploy to Prod\newrecovery.war]
at hudson.model.Executor.run(Executor.java:405)
Caused by: org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: The Tomcat Manager responded "<html><head><title>Request Rejected</title></head><body>The requested URL was rejected. Please consult with your administrator.<br><br>Your support ID is: 328182350955272879</body></html>" instead of the expected "OK" message
最佳答案
发现问题,F5 阻止了部署,他们将在我运行 jenkins 的服务器的 IP 中添加一个异常(exception) –
关于java - 无法通过 Jenkins 部署 war 来刺激,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46119176/