When I tried to deploy war from Jenkins using I am getting the following exception in Jenkins job log. Does anyone has any idea why this is happening? I am trying to deploy to t
I user the full path of war file as the value of "WAR/EAR files". When I set the value as "**/*.war" it worked.
In order for Tomcat to accept remote deployments, you have to add a user with the role manager-script. To do so edit the file ../conf/tomcat-users.xml and add the following line:
..and then add the same user name in Jenkins.
It was expecting the file to be defined like /*.yaml
Don't think to define the whole path for the file in case you encounter this. Just define like above highlighted. This will read from the directory where you have the YAML file.
The problem you are facing because the path takes GLOBAL pattern **/*.war
This should work.
the value of "WAR/EAR files" must be relative path of workspace