DevOps 썸네일형 리스트형 Jenkins 에서 git commit 마다 빌드하는 방법 Jenkins - Build by Git Commit 글 목적 Jenkins에서 git repository에 commit이 들어올 때마다 빌드가 자동으로 시작되도록 설정하고 싶다면 참고하세요. 사전 요구 사항 Jenkins 설치 및 구동 git (bare) repository 설정 완료 Jenkins와 git repository를 연결하여 빌드 성공 과정 빌드 유발에서 “Poll SCM” 설정 git repository hook “post-receive” 설정 git repository에서 bash 파일 작성 .git/hooks/post-receive 만약, branch 별로 post를 받고 싶다면 아래 버전 코드를 사용하면 된다. 테스트 git commit --allow-empty -m “Jenkins.. 이전 1 다음
꾸준히 노력하는 개발자 "김예건" 입니다.