목록CI CD (5)
카이도스의 Tech Blog
2025.01.23 - [CI CD] - Jenkins를 이용한 CI/CD Pipeline - 1 Jenkins를 이용한 CI/CD Pipeline - 1실습 구성 : VM Spec - vCPU 8, RAM 16GiB설치 및 설정 : Docker 로 설치# 이미지 가져오기docker pull jenkins/jenkinsdocker history jenkins/jenkins --format json --no-trunc | jq# 확인docker images | grep -i jenkinsjenkins/jenkins latest fe1djdakf1234.tistory.com 사전 준비 : Tomcat 설치# 사전 준비docker pull tomcat:9.0docker history tomcat:9.0dock..
실습 구성 : VM Spec - vCPU 8, RAM 16GiB설치 및 설정 : Docker 로 설치# 이미지 가져오기docker pull jenkins/jenkinsdocker history jenkins/jenkins --format json --no-trunc | jq# 확인docker images | grep -i jenkinsjenkins/jenkins latest fe12c0bbe82f 24 hours ago 466MB# Jenkins 실행docker run -d -p 8080:8080 -p 50000:50000 --name jenkins-server --restart=on-failure -v jenkins_home:/var/jenkins_home jenkins/jenkins9..
Sonarqube Upgrade # 서비스 중지 sudo systemctl stop sonar.service sudo systemctl status sonar.service # 설치 sudo wget https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-9.9.1.69595.zip unzip sonarqube-9.9.1.69595.zip sudo mv sonarqube-9.9.1.69595 /opt/ cd /opt/ sudo mv sonarqube-9.9.1.69595 sonarqube-9.9.1 sudo chown sonar:sonar /opt/sonarqube-9.9.1 -R # 기존 데이터 백업 sudo cp -R sonarqube/ ..
OS : ubuntu 22.04 JAVA 17 sonarqube-9.9.4 기본 설치 # apt 최신화 sudo apt update && sudo apt upgrade -y # sysctl.conf 설정 sudo vi /etc/sysctl.conf vm.max_map_count=262144 fs.file-max=65536 sudo sysctl -p # limits.conf 설정 sudo vi /etc/security/limits.conf sonarqube nofile 131072 sonarqube nproc 8192 # Java 설치 및 확인 sudo apt-get install openjdk-17-jdk -y java -version openjdk version "17.0.9" 2023-10-17 Op..
jenkins 설치(Ubuntu 22.04) # java install sudo apt install -y openjdk-11-jdk java -version openjdk version "11.0.21" 2023-10-17 OpenJDK Runtime Environment (build 11.0.21+9-post-Ubuntu-0ubuntu122.04) OpenJDK 64-Bit Server VM (build 11.0.21+9-post-Ubuntu-0ubuntu122.04, mixed mode, sharing) # ubuntu 22.04 Jenkins Install curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key | sudo tee ..