I want to configure my maven based web application to build and deploy as part of my normal work.
The line works fine, however using the container deployment plugin seems unreliable in the fact that the new deployment works, but the application redistribution fails. The plugin cannot be deployed when the application is already deployed (the war is already in the webapps directory). To be clear, if I remove the war and cancel everything, and then to create the Jenkins, it will work as expected, but then they will fail. Error message:
org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Encountered exception javax.management.RuntimeErrorException: Error invoking method check
Should I instead deploy as part of the maven assembly itself, using deploy: deploy and adding a distribution control section?
Or is it their jenkins installation that I don't see?
source share