Jenkins Deploy Plugin failing

前端 未结 5 647
眼角桃花
眼角桃花 2021-01-27 08:30

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

相关标签:
5条回答
  • 2021-01-27 08:31

    I user the full path of war file as the value of "WAR/EAR files". When I set the value as "**/*.war" it worked.

    0 讨论(0)
  • 2021-01-27 08:36

    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.

    0 讨论(0)
  • 2021-01-27 08:36

    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.

    0 讨论(0)
  • 2021-01-27 08:41

    The problem you are facing because the path takes GLOBAL pattern See the image **/*.war

    This should work.

    0 讨论(0)
  • 2021-01-27 08:52

    the value of "WAR/EAR files" must be relative path of workspace

    0 讨论(0)
提交回复
热议问题