Jenkins Install - XXOK/XXOK-selenium GitHub Wiki

1. ์‚ฌ์ „ ์ค€๋น„

Homebrew ์„ค์น˜

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

Java8 ์„ค์น˜ (9๋ฒ„์ „์—์„œ๋Š” ์  ํ‚จ์Šค ์„ค์น˜ ์•ˆ๋จ)

$ brew tap caskroom/versions
$ brew cask install java8

2. ์„ค์น˜

$ brew install jenkins

๋ฐฑ๊ทธ๋ผ์šด๋“œ ์„œ๋น„์Šค๋กœ ๋“ฑ๋ก

$ brew services start jenkins

์ ‘์†

http://localhost:8080/

์–ธ๋ฝ

์–ด๋“œ๋ฏผ ํŒจ์Šค์›Œ๋“œ ์ž…๋ ฅ (์•„๋ž˜ ๋ช…๋ น์–ด๋กœ ํ™•์ธ)

$ cat /Users/[๊ณ„์ •๋ช…]/.jenkins/secrets/initialAdminPassword

ํ”Œ๋Ÿฌ๊ทธ์ธ ์„ค์น˜

Install Suggested Plugins ์„ ํƒ (ํ”Œ๋Ÿฌ๊ทธ์ธ ์„ค์น˜ ์‹คํŒจ ์‹œ retry)

์–ด๋“œ๋ฏผ ๊ณ„์ • ์ƒ์„ฑ

๋‚ด๋ถ€ ๋กœ์ปฌ URL ์„ค์ •

default: http://0.0.0.0:8080


3. ์™ธ๋ถ€ ์ ‘์† ํ—ˆ์šฉ

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

httpListenAddress ์ฃผ์†Œ๋ฅผ 0.0.0.0 ์œผ๋กœ ๋ณ€๊ฒฝ

$ brew services restart jenkins

์ถœ์ฒ˜: http://myinbox.tistory.com/121 [๋‚˜์˜ ์ธ๋ฐ•์Šค]