Jenkins发布到tomcat提示错误:

The username you provided is not allowed to use the text-based Tomcat Manager

需要为用户授权manage-script角色,且该角色不能同时为manage-gui角色

详细解释如下:

You are not authorized to view this page.

If you have already configured the Manager application to allow access and you have used your browsers back button, used a saved book-mark or similar then you may have triggered the cross-site request forgery (CSRF) protection that has been enabled for the HTML interface of the Manager app[……]

阅读全文