24
22

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Amazon Linux/CentOSのJenkinsのタイムゾーンを指定する

Last updated at Posted at 2014-05-16

システムはUTC、jenkinsは日本のタイムゾーンの運用がしたかったので設定してみた。

##参照サイト

##設定手順

  • /etc/sysconfig/jenkinsのJENKINS_JAVA_OPTIONSの最後に-Dorg.apache.commons.jelly.tags.fmt.timeZone=[タイムゾーン]を追加する
## Type:        string
## Default:     "-Djava.awt.headless=true"
## ServiceRestart: jenkins
#
# Options to pass to java when running Jenkins.
#
JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Dorg.apache.commons.jelly.tags.fmt.timeZone=Asia/Tokyo"
  • jenkinsを再起動する
$ service jenkins restart
24
22
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
24
22

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?