티스토리 뷰
Resolution
In current versions of Jenkins (since 2.117) there are two command line arguments that control the login session timeout. Both of these may need to be set, depending on your desired outcome:
- sessionTimeout is set in minutes; a user will be logged out after this time, no matter what. Default is 30 minutes.
- sessionEviction is set in seconds; a user will be logged out after this time if their session is idle. Default is 30 minutes.
Prior to version 2.117 there was only the sessionTimeout option.
These arguments need to be passed to the Jenkins war file, NOT to the JVM. This article explains where the arguments should be added, depending on the OS/distribution you are using.
As an example, if you wanted to set the timeout for idle sessions to 1 hour and active sessions to 2 hours, you would use:
--sessionTimeout=120 --sessionEviction=3600
Ref.
https://docs.cloudbees.com/docs/cloudbees-ci-kb/latest/best-practices/setting-session-timeout
'DevOps > Jenkins' 카테고리의 다른 글
Pyenv: 최신 버전으로 유지하기 (1) | 2023.12.23 |
---|---|
Jenkins: Slack 연동 시 Token 하나로 글로벌 셋팅할 때 주의사항 (0) | 2023.12.11 |
Jenkins: JobConfigHistory Plugin Best Practices (0) | 2023.09.15 |
Jenkins Script: How can I get a list of empty Folders and Multibranch jobs (0) | 2023.08.29 |
Jenkins: Sesssion Timeout (세션타임 아웃) 설정하기 (0) | 2022.12.21 |
Jenkins: 엑세스로그(Access Log) 설정하기 (1) | 2022.12.15 |
Jenkins: 사용자 테마 설정 (How to apply to theme) (1) | 2022.10.14 |
Ansible: How to change Locale to English (0) | 2022.10.14 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Docker
- Jenkins
- 젠킨스
- 엔시블
- 데브옵스
- Nexus
- 엔서블
- 쉘스크립트
- 쓰레드덤프
- vagrant
- ssl
- nginx
- 파이프라인
- URL Encoding
- Password manager
- iTerm2
- Config History
- rsync
- groovy
- Playbook
- Shell Script
- 리눅스
- 플레이북
- Thread Dump
- PostgreSQL
- Linux
- Ansible
- DevOps
- openssl
- JVM
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함