如何使用 TeamCity 在 Tomcat 中创建自动部署。我使用了容器部署器,但它总是说我已提交部署。
[Step 6/8] org.codehaus.cargo.container.ContainerException: Failed to deploy [/home/aecktann/JetBrains/TeamCity/buildAgent/work/f8bcef79481c6bb2/target/ChatBot-1.0-SNAPSHOT.war]
, root cause is org.codehaus.cargo.container.*******.internal.TomcatManagerException: The Tomcat Manager responded "FAIL - Deployed application at context path /ChatBot-1.0-SNAPSHOT but context failed to start
" instead of the expected "OK" message
[16:41:40] [Step 6/8] Step TomcatDeployer (Container Deployer) failed
最佳答案
它看起来不像部署失败,所以不是 jenkins,它可能是实际的应用程序没有启动,您是否使用相同的 jenkins 用户进行了手动部署?也可能是权限问题。
关于java - Tomcat 中的 TeamCity 部署,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44414413/