If I remember right, quoting matters here. This java arg works for us:

-Dorg.apache.commons.jelly.tags.fmt.timeZone='America/Los_Angeles'

Note single quotes around America/Los_Angeles. And also an underscore.

On Sunday, June 23, 2013 7:38:31 PM UTC-7, C. Benson Manica wrote:
>
> I'm running Jenkins as a system package on a Redhat-like system. The 
> infinitesimal documentation on how to change the time zone indicates that 
> adding one of the following lines to /etc/sysconfig/jenkins should change 
> the timezone, but neither does.
>
> JAVA_ARGS="user.timezone='America/Los Angeles'"
> JAVA_ARGS="-Dorg.apache.commons.jelly.tags.fmt.timeZone=America/Los 
> Angeles"
>
> The Jenkins user is also set up to use PDT, but that was also not 
> sufficient. The only successful course of action was to change the system 
> time, which a non-root user would not be able to do.
>
> This message is informational, to make it known that a very basic task in 
> Jenkins - changing the time zone - is not documented in a way that actually 
> works. A Jenkins setting to change the timezone might also be a helpful 
> addition.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to