Showing posts with label Hudson. Show all posts
Showing posts with label Hudson. Show all posts

Thursday 13 March 2014

UTF-8 Encoding in Tomcat for Hudson

If you're using Tomcat container for working with Hudson, you'll most likely see a warning on the Manage Hudson page. Something like "Your container doesn't use UTF-8 to decode URL's".

In that case, we need to tweak Tomcat a little bit. Edit the server.xml file located at $TOMCAT_HOME / conf

Locate the line where connector port is mentioned. Once located, we just have to add the following next to it - URIEncoding="UTF-8"


Refer the i18n section of the official Hudson FAQ link here.

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
Related Posts Plugin for WordPress, Blogger...
eXTReMe Tracker