5
5

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.

jenkins の表示時間を日本時間にする

Posted at

表示時刻を日本時間にする

デフォルトの場合

/etc/default/jenkinsの中のJAVA_ARGS="-Dorg.apache.commons.jelly.tags.fmt.timeZone=Asia/Tokyo"というふうに付け加えて再起動service restart jenkinsをすれば良い

前回投稿した記事のようにSystemdに移動した場合

前回投稿した記事:jenkins が他のプロセスによってダウンするのを防ぐ

には、以下のように変更

-Dorg.apache.commons.jelly.tags.fmt.timeZone=Asia/Tokyo

ExecStartに追加し、以下のようにすればオッケー!

ExecStart=/usr/bin/java -Djava.awt.headless=true -Dorg.apache.commons.jelly.tags.fmt.timeZone=Asia/Tokyo -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 
5
5
1

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
5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?