본문 바로가기

CI&CD

(3)
01. Jenkins Install Jenkins 모든 언어의 조합과 소스 코드 repository에 대한 지속적인 통합(Continuous integration, CI)과 지속적 배포(continuous delivery, CD) 환경을 구축하기 위한 도구다. 빌드, 테스트, 배포 프로세스를 자동화하여 소프트웨어 품질과 개발 생산성을 높일 수 있다. 1.Jenkins 설치 및 구성 VMware CentOS7 환경 ※ java 설치 Jenkins는 java로 개발된 솔루션이므로 java를 먼저 설치해야 한다. # yum install -y java-11-openjdk-devel.x86_64 ※ java의 홈 디렉토리 확인 환경 변수 설정을 위해 java의 홈 디렉토리를 확인한다. ※ 환경 변수 등록 # vi /etc/profile ※ 환경 ..
1. GitHub : Create token & repository GitHub: Where the world builds software GitHub is where over 83 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and feat... github.com ※ github 회원가입 후 로그인 1. Token 생성 ※ 우측 상단에 아이콘 클릭 → Setting ※ 좌측 메뉴 맨 아래쪽에 Developer settings ※ Personal access tokens → Generate new token ※ 토큰 이름 ..
01. Git : Install & Command https://git-scm.com/ Git git-scm.com git hub가 main으로 되어있기 때문에 연동을 생각한다면 main으로 설정 git init git config --global user.email "cmhh0808@naver.com" git config --global user.name "mhan" stating(메모리) 영역으로 옮기기: git add [파일명] git commit -m "command" add+commit: git commit -am "command" git status git log git log -p git log --all --oneline --graph git checkout [commit ID] 가장 최근 작업으로 이동: git checkout main ..