Jenkins

Jenkins 설치하기

vhxpffltm 2021. 7. 13. 22:30
반응형

젠킨스와 같은 Continuous Integration (지속적 통합)은 꼭 필요한 도구들이다.

 

나도 이것을 사용해봐야하고 알아야하기 때문에 처음부터 차근차근 해보고자 한다.

 

다행히, Tutorial 사이트가 있었다.

 

설치부터 시작해보자.

 

https://www.guru99.com/download-install-jenkins.html

 

How to Download & Install Jenkins on Windows

Details Last Updated: 04 June 2021 Jenkins may be installed on either Windows or Unix platforms, but we will focus on Windows installation only. Prerequisites: Before you proceed to install Jenkins in your windows system, there are some prerequisites for J

www.guru99.com

 

 

다운로드는 LTS버전으로 하는데 아마 글 작성 기준 2.289.2 일것이다.

 

위 글과는 좀 다른 부분이 있는데 다른 부분만 살펴본다.

 

Service Logon Credentials

이 부분은 링크에 없는데 local에서 테스트 하기위해 사용하는것이니 localsystem에 체크하여 설치한다.

 

select java home directory

자바 요구사항의 경로를 바로 지정해줘야한다. 그 요구사항의 버전이 명시되어 있는데..

JAVA 1.8은 JDK 8 이다. 

해당 버전의 Openjdk를 설치해 사용하도록 하자

 

 

그렇게 설치가 완료되면 jenkins가 실행되고 localhost:[port] 로 바로 확인할 수 있다.

 

기본 설정을 하게되며 Unlock jenkins 설정을 무사히 마치면 된다. 

해당 C:Windos... 의 경로로 접속하여 암호키를 복붙하면 된다.

 

이후 설정은 위에 나오는대로 똑같이 적용하면 된다.

 

그러면 아래와 같은 결과를 얻을 수 있다.

 

 

혹시 모르니 따로 참고한 Reference와 2가지 특이사항을 같이 적어둔다.

 

Reference

https://exhibitlove.tistory.com/20

파일 관리자 권한 문제

 

https://stackoverflow.com/questions/23769478/how-to-change-port-for-jenkins-window-service-when-8080-is-being-used

Jenkins 포트 번호 변경하기

 

https://oingdaddy.tistory.com/246?category=824424 

Window Jenkins 설치

 

반응형