Is there any way to deploy my Java application .war file at root on Tomcat 7 server, using the Deploy plugin for Jenkins?
Currently the app gets deployed at http://server/foo/ if it comes in a file named foo.war.
|
Is there any way to deploy my Java application .war file at root on Tomcat 7 server, using the Deploy plugin for Jenkins? Currently the app gets deployed at |
|||
| show 4 more comments |
|
Overly simple solution for any problem such as this: Set your appBase for the host container to the path you want. (Make sure to turn off autodeploy, etc.) |
|||
|
webapps/ROOTto another name; do the deployment via Jenkins by executing a shell script that copies the war file under webapps with the nameROOT.war. Anyway, I'll leave the question open; it would be nice (and less of a hack) to be able to do this with the Deploy plugin. – Jonik Jul 27 '11 at 17:53