Saturday 8 March 2014

User locked out / Access Denied in Hudson

I've come across some beginners new to using Hudson for automated builds, getting locked out of Hudson due a silly mistake.

This silly mistake happens while configuring system, if you tick "Enable security" and choose matrix based security. If you forget to mention relevant permissions and save the settings, you will be locked out instantly. You won't be able to access Hudson.

The remedy to fix the issue is as follows :

  • Stop Hudson


  • Go to ~/.hudson directory


  • Edit the config.xml 


  • Revert back the <useSecurity> value to false 


  • Restart Hudson

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
eXTReMe Tracker