-
Bug
-
Resolution: Fixed
-
Major
-
Tomcat 7.0.34
Jenkins 1.530
deploy plugin 1.9
I would like to take advantage of Tomcat 7 parallel deployment feature and I generated my app with the following name:
myapp##1.0.0.war
Deploying it manually copying it in tomcat webapps work as expected, unzipping it in myapp##1.0.0 folder and running the app with context path "myapp".
Deploying with Jenkins, I'm not able to configure deploy plugin in order to perform the deployment without the context path. In fact:
- If I put the context path "myapp" in the settings of the job, the WAR is copied in tomcat webapps with name myapp.war and I loose the parallel deployment benefits.
- if I leave the context path blank in the job settings the war is copied with the proper name myapp##1.0.0.war but I get the following error on tomcat logs:
Caused by: org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Failed to deploy application at context path /myapp//1.0.0
Is there any solution/workaround?
Many thanks in advance for your help, best regards