嘗試使用Jenkins部署WAR時出現以下錯誤。在Jenkins部署WAR時出錯
Started by user anoop
[EnvInject] - Loading node environment variables.
Building in workspace C:\Users\anoop\.jenkins\workspace\AutomatedDeploymentTest
Deploying C:\Users\anoop\.jenkins\workspace\AutomatedDeploymentTest\sample.war to container Tomcat 7.x Remote
ERROR: Build step failed with exception
org.codehaus.cargo.container.ContainerException: Failed to redeploy [C:\Users\anoop\.jenkins\workspace\AutomatedDeploymentTest\sample.war]
at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:189)
at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:73)
at
Build step 'Deploy war/ear to a container' marked build as failure
Finished: FAILURE
請幫我解決這個問題。
什麼是你已經通過了配置和在Tomcat上運行。提供那些細節,上面的細節沒有用。首先檢查文件是否位於上述位置。 – Suresh
歡迎來到堆棧溢出:-) 請閱讀[問] 以及如何創建[mcve]。這將有助於獲得有用的答案。 – JimHawkins
可以顯示如何在詹金斯配置Tomcat部署過程 –