ETC

Jenkins 설치(Mac OS)

Wook No.1 2022. 4. 14. 13:51

우선 맥에 brew가 깔려있지 않다면 터미널에서 brew를 설치

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

 

Jdk 설치 안되어 있으면 설치

https://wookno1.tistory.com/34

 

 

1. Jenkins 설치

$ brew install jenkins

 

 

2. Jenkins 외부접속 허용 하기(IP 설정 파일 열기)

$ cd /usr/local/opt/jenkins
$ vi homebrew.mxcl.jenkins.plist

httpListenAddress=127.0.0.1 -> httpListenAddress=0.0.0.0

httpPort -> Jenkins 접속 포트 변경

 

 

3. Jenkins 실행 / 재실행 / 중지

$ brew services start jenkins
$ brew services stop jenkins
$ brew services restart jenkins