Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: for the plan.

Jump to: navigation, search

Using Hudson/Change time zone

< Using Hudson(Redirected from Change time zone)

This article is a stub. It will be expanded as content is migrated from the Hudson-CIWeb site.

If your hudson instance is running in a different location than the user's (for example: the server is in NY but users are in LA), then the NY time zone will most probably be used, which may be quite annoying if you need to compare build dates.

To see the time zone used go to http://server/hudson/systemInfo and see the user.timezone system property.

If you cannot change the time zone of your server, then you can force jelly to use a given time zone for formatting time stamps.

So, you need to start your servlet engine which the following java system property :

java -Dorg.apache.commons.jelly.tags.fmt.timeZone=TZ ...

where TZ is a java.util.TimeZone ID ("Europe/Paris" for example).

Note that


will work as well, but it can interfer with other contexts.

If running Hudson via a system package, this can be accomplished by setting JAVA_ARGS in your /etc/default/hudson (Debian) or /etc/sysconfig/hudson (Red Hat) such as:


and then restarting Hudson via the init script (not via the UI).

Back to the top