Change Jenkins time zone

If running Jenkins via a system package, this can be accomplished by setting JAVA_ARGS in your /etc/default/jenkins (Debian)

JAVA_ARGS="-Dorg.apache.commons.jelly.tags.fmt.timeZone=America/New_York"
or /etc/sysconfig/jenkins (Red Hat) such as:

JENKINS_JAVA_OPTIONS="-Dorg.apache.commons.jelly.tags.fmt.timeZone=America/New_York"
or, if that doesn't work,

JENKINS_JAVA_OPTIONS="-Duser.timezone=America/New_York"

Comments