티스토리 뷰
JobConfigHistory Plugin is a plugin designed to maintain the history of what has changed in the Jenkins job configuration and the system configuration. When a save operation is performed in Jenkins, then the history of what was changed (diff) and who made the changes (user) is saved. It could be a manual save from the UI or a programmatic save.
Recommended configuration
There are many customization possibilities to improve the performance of the JobConfigHistory Plugin that are going to impact positively in the overall instance performance.
The configuration can be edited at Manage Jenkins -> Configure System -> Job Config History:
- Use different history directory than default - Setting this option to a new location is good if you would like to store the job configuration history in another location other than $JENKINS_HOME/config-history (like another mount or another drive). We strongly encourage users to set this to another mount/drive as the job config history plugin will increase the number of inodes for the JENKINS_HOME directory.
- Max number of history entries to keep - We recommend keeping this number to a minimum (about 1000). If left blank then all entries will be kept.
- Max number of days to keep history entries - We recommend the max number of days to be 30 days.
- Max number of history entries to show per page - (For Job Config History version 2.18 or later) We recommend keeping this number to a minimum (about 20). This control the number of history records being loaded when browsing the config history of a job.
- System configuration exclude file pattern (default: queue\.xml|nodeMonitors\.xml|UpdateCenter\.xml|global-build-stats) - If there is configuration in the System configuration page which is altered too often or if altering it does not impact users, then those options can be excluded from being added to the exclude file pattern. Please, keep the default configuration, adding more patterns if required. For example, queue\.xml|nodeMonitors\.xml|UpdateCenter\.xml|global-build-stats|OperationsCenterCredentialsProvider|LockableResourcesManager\.xml|MilestoneStep\.xml
- Do not save duplicate history - We recommend disabling this option. This option removes duplicate entries or entries where nothing changes but is also the cause of performance issues.
- Save Maven module configuration changes - We recommend disabling this option. When a maven project completes the job configuration is saved, which causes an increase in the amount of maven module configuration changes.
- Show build badges - Set to Never in order to not overload the history widget.
- Exclude users - if you want to exclude changes by a specific user. For example, excluding SYSTEM in a CJP operations center - CJP client controller configuration.
Ref.
'DevOps > Jenkins' 카테고리의 다른 글
cp: cannot create regular file 'xxx': Permission denied (0) | 2024.01.10 |
---|---|
Pyenv: 최신 버전으로 유지하기 (1) | 2023.12.23 |
Jenkins: Slack 연동 시 Token 하나로 글로벌 셋팅할 때 주의사항 (0) | 2023.12.11 |
Jenkins Script: How can I get a list of empty Folders and Multibranch jobs (0) | 2023.08.29 |
Jenkins: How to customize login session timeout (0) | 2022.12.21 |
Jenkins: Sesssion Timeout (세션타임 아웃) 설정하기 (0) | 2022.12.21 |
Jenkins: 엑세스로그(Access Log) 설정하기 (1) | 2022.12.15 |
Jenkins: 사용자 테마 설정 (How to apply to theme) (1) | 2022.10.14 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- JVM
- Config History
- 리눅스
- rundeck
- 엔서블
- 엔시블
- vagrant
- Thread Dump
- Jenkins
- 플레이북
- ssl
- Nexus
- 파이프라인
- Ansible
- Playbook
- URL Encoding
- rsync
- openssl
- groovy
- 쓰레드덤프
- nginx
- Linux
- Password manager
- iTerm2
- PostgreSQL
- DevOps
- 젠킨스
- Docker
- Shell Script
- 데브옵스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함