플로그인 링크 https://plugins.jenkins.io/jobConfigHistory/ 추천 설정법 경로: Manage Jenkins -> Configure System -> Job Config History Use different history directory than default history 데이터를 다른 곳으로 위치하고 싶을 때 설정 (Default: $JENKINS_HOME/config-history) 좀 더 빠른 디스크를 사용한다거나 해당 디스크의 inode를 관리하고 싶을 경우 사용 Max number of history entries to keep 이 숫자는 최소(약 1000개)로 유지하는 것이 좋습니다. 비워두면 모든 항목이 유지됩니다. Max number of history..
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 customizat..
Manage Jenkins > Script Console import com.cloudbees.hudson.plugins.folder.Folder import com.cloudbees.hudson.plugins.folder.AbstractFolder Jenkins.instance.getAllItems(AbstractFolder.class).each { folder -> if (isEmpty(folder)) { println folder.fullName + " - " + folder.class } }; return def isEmpty(folder) { return folder?.items?.size() == 0 } https://docs.cloudbees.com/docs/cloudbees-ci-kb/la..
문자열을 자를 때 구분자 정의하는 환경 변수 이 값으로 for 문을 수행할 때 이 값으로 자르게 됨 Default 값은 Space, Tab, New Line(개행) 따로 지정하지 않으면 Default값으로 구분되어 짐 그러나 의도치 않게 구분된다면 임의적으로 설정할 필요가 있음 가령 나는 콤마(,) 로 구분하고 싶다면 쉘스크립트 안에서 IFS=',' 라고 정의하면 됨 e.g. #!/bin/bash # IFS를 재정의하지 않으면 Space, Tab, New line 모두 적용됨 IFS=',' # 콤마로만 구분하고 싶을 경우 # IFS= $'\n' # 개행으로만 구분하고 싶을 경우 for directory in `cat directories` do echo "$directory" done
Dockerfile FROM centos:centos7 # Your vagrant public key ENV PUB_KEY="ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPK..
Dockerfile FROM centos:centos7 # Your vagrant public key ENV PUB_KEY="ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPK..
e.g. -> % ssh vagrant@127.0.0.1 -p 3333 vagrant@127.0.0.1's password: "System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)." Connection closed by 127.0.0.1 port 3333 Remove a file '/run/nologin' 1. Connect to terminal of VM 2. rm /run/nologin
1. dmesg $ dmesg [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.10.0-1160.11.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Fri Dec 18 16:34:56 UTC 2020 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-1160...
- Total
- Today
- Yesterday
- Nexus
- Linux
- URL Encoding
- PostgreSQL
- DevOps
- Jenkins
- 엔서블
- groovy
- 젠킨스
- Shell Script
- JVM
- 데브옵스
- 파이프라인
- vagrant
- rsync
- ssl
- 쓰레드덤프
- Ansible
- Thread Dump
- Config History
- 엔시블
- 리눅스
- openssl
- Password manager
- Docker
- Playbook
- nginx
- iTerm2
- 플레이북
- rundeck
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |