데이터과학 삼학년

젠킨스 타임존 설정 본문

DevOps

젠킨스 타임존 설정

Dan-k 2021. 3. 14. 17:22
반응형

젠킨스 타임존 설정 방법은 크게 2가지가 있다.

유저별로 각각 설정하는 방법과 시스템 전체에서 타임존을 변경하는 방법이다.

 

 

유저별 설정

> 유저별로 timezone을 각각 설정

1. 유저 정보에 들어간다.

2. 설정을 누르고, 맨 아래 User Defined Time Zone에서 timezone 선택

시스템 설정

> 젠킨스 시스템 자체 timezone 설정 (전체 변경)

1. Jenkins Script Console 에 들어간다.

2. 아래 커맨드를 적용하여 timezone 변경

System.setProperty('org.apache.commons.jelly.tags.fmt.timeZone', 'Asia/Seoul')

System.setProperty('org.apache.commons.jelly.tags.fmt.timeZone', 'Asia/Seoul')

 

참조

유저별 설정

https://www.jenkins.io/doc/book/using/change-time-zone/

 

Change time zone

Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software

www.jenkins.io

시스템 설정

https://www.jenkins.io/doc/book/managing/change-system-timezone/

 

Change System Time Zone

Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software

www.jenkins.io

 

728x90
반응형
LIST
Comments