유저별 설정
유저별로 다른 타임존 설정이 필요한 경우,
유저 설정으로 들어가서
맨 밑에 있는 User Defined Time Zone 항목을 수정해줍니다
젠킨스 시스템 타임존 설정
java -Dorg.apache.commons.jelly.tags.fmt.timeZone=Asia/Seoul ...
젠킨스 실행시 jvm option을 위와 같이 주면 됩니다.
k8s에서 젠킨스를 띄우고 있다면, 이런식으로 JAVA_OPTS 환경변수를 설정해줍니다
참고
Change System Time Zone
The system time zone configuration is the default time zone displayed by Jenkins. The "Manage Jenkins" ⇒ "System Information" page shows the value of the system properties that define the time zone for the Jenkins controller. Refer to the following video
www.jenkins.io
반응형
'CI CD > jenkins' 카테고리의 다른 글
[Jenkins] IntelliJ jenkinsfile pipeline 자동완성 (gdsl) (0) | 2023.01.11 |
---|---|
[Jenkins] docker initialAdminPassword 경로 (0) | 2023.01.08 |
[Jenkins] 프로젝트 JDK 설정 방법 (0) | 2022.09.23 |
[Jenkins] Credential 추가하는 방법 (0) | 2022.09.22 |