您的位置:首页 > 运维架构 > Tomcat

jenkins自动部署到tomcat报错:ERROR: Publisher hudson.plugins.deploy.DeployPublisher aborted due to exception

2014-05-28 20:03 543 查看
参考地址:
http://blog.csdn.net/weiguang1017/article/details/9011353
manager-script — Access to the tools-

必须把部署用户的权限定义为“manager-script”,才可以成功部署。

<tomcat-users>
<!--
NOTE: By default, no user is included in the "manager-gui" role required
to operate the "/manager/html" web application. If you wish to use this app,
you must define such a user - the username and password are arbitrary.
-->
<!--
NOTE: The sample user and role entries below are wrapped in a comment
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
-->

<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<role rolename="manager-script"/>
<user username="jenkinstom" password="jenkinstom" roles="manager-script"/>
<user username="tomcat" password="tomcat" roles="manager-gui"/>
<user username="tom" password="tom" roles="admin-gui"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>

</tomcat-users>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐