Hi i deployed my first job successfully to tomcat 9.x but instead of it going to the specified context root /test instead it used the war filename as the context root can you help at all here please?
[DeployPublisher][INFO] Attempting to deploy 1 war file(s)
[DeployPublisher][INFO] Deploying /var/jenkins_home/workspace/Test-deploy-from-jenkins-tomcat-test/SampleWebApp.war to container Tomcat 9.x Remote with context /test
[/var/jenkins_home/workspace/Test-deploy-from-jenkins-tomcat-test/SampleWebApp.war] is not deployed. Doing a fresh deployment.
Deploying [/var/jenkins_home/workspace/Test-deploy-from-jenkins-tomcat-test/SampleWebApp.war]
Finished: SUCCESS
Looking on Tomcat manager logs i see no mention of context root
16-Nov-2021 21:07:23.213 INFO [http-nio-8080-exec-256] org.apache.catalina.core.ApplicationContext.log Manager: deploy: Deploying web application ‘/SampleWebApp’
16-Nov-2021 21:07:23.213 INFO [http-nio-8080-exec-256] org.apache.catalina.core.ApplicationContext.log Manager: Uploading WAR file to /opt/tomcat/webapps/SampleWebApp.war