| 3: 2016-05-17 (火) 00:34:14 shinnai(shinnai) Rewound to 2 ages ago. at 2017-12-04 (月) 23:24:07 |
現: 2019-06-26 (水) 11:31:00 nobuaki |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | *Jenkins 2.3をMacOS X 10.11.4 El Capitanにインストールする [#kb23e1e8] | + | *JenkinsをMacOS X 10.11.4 El Capitanにインストールする [#kb23e1e8] |
| **はじめに [#ue82589c] | **はじめに [#ue82589c] | ||
| Line 6: | Line 6: | ||
| **brew listで現在インストールされているパッケージを表示 [#k9c791b1] | **brew listで現在インストールされているパッケージを表示 [#k9c791b1] | ||
| - | MBA13:~ ujpadmin$ brew list | + | MBA13:~ ujpadmin$ brew list🆑 |
| openssl readline sqlite subversion tree wget | openssl readline sqlite subversion tree wget | ||
| MBA13:~ ujpadmin$ | MBA13:~ ujpadmin$ | ||
| Line 14: | Line 14: | ||
| 探してみる. | 探してみる. | ||
| - | MBA13:~ ujpadmin$ brew search jenkins | + | MBA13:~ ujpadmin$ brew search jenkins🆑 |
| jenkins jenkins-job-builder | jenkins jenkins-job-builder | ||
| homebrew/versions/jenkins-lts Caskroom/cask/jenkins-menu Caskroom/cask/jenkins | homebrew/versions/jenkins-lts Caskroom/cask/jenkins-menu Caskroom/cask/jenkins | ||
| Line 23: | Line 23: | ||
| **brew install jenkinsでインストールを行うが失敗 [#c30f6cc0] | **brew install jenkinsでインストールを行うが失敗 [#c30f6cc0] | ||
| - | MBA13:~ ujpadmin$ brew install jenkins | + | MBA13:~ ujpadmin$ brew install jenkins🆑 |
| jenkins: Java 1.7+ is required to install this formula. | jenkins: Java 1.7+ is required to install this formula. | ||
| You can install with Homebrew Cask: | You can install with Homebrew Cask: | ||
| Line 39: | Line 39: | ||
| brewを使って,javaをインストールする. | brewを使って,javaをインストールする. | ||
| - | MBA13:~ ujpadmin$ brew cask install java | + | MBA13:~ ujpadmin$ brew cask install java🆑 |
| ==> Caveats | ==> Caveats | ||
| This Cask makes minor modifications to the JRE to prevent issues with | This Cask makes minor modifications to the JRE to prevent issues with | ||
| Line 73: | Line 73: | ||
| **brew install jankins2回目 [#l21a5b10] | **brew install jankins2回目 [#l21a5b10] | ||
| - | MBA13:~ ujpadmin$ brew install jenkins | + | MBA13:~ ujpadmin$ brew install jenkins🆑 |
| ==> Downloading http://mirrors.jenkins-ci.org/war/2.3/jenkins.war | ==> Downloading http://mirrors.jenkins-ci.org/war/2.3/jenkins.war | ||
| ==> Downloading from http://ftp.yz.yamagata-u.ac.jp/pub/misc/jenkins/war/2.3/jenkins.war | ==> Downloading from http://ftp.yz.yamagata-u.ac.jp/pub/misc/jenkins/war/2.3/jenkins.war | ||
| Line 91: | Line 91: | ||
| インストールは問題無く完了した模様.brew services start jenkisで起動できると書いてある. | インストールは問題無く完了した模様.brew services start jenkisで起動できると書いてある. | ||
| - | MBA13:~ ujpadmin$ brew doctor | + | MBA13:~ ujpadmin$ brew doctor🆑 |
| Please note that these warnings are just used to help the Homebrew maintainers | Please note that these warnings are just used to help the Homebrew maintainers | ||
| with debugging if you file an issue. If everything you use Homebrew for is | with debugging if you file an issue. If everything you use Homebrew for is | ||
| Line 122: | Line 122: | ||
| Jenkinsには関係ないが,ここらで設定しておく. | Jenkinsには関係ないが,ここらで設定しておく. | ||
| - | MBA13:~ ujpadmin$ echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile | + | MBA13:~ ujpadmin$ echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile🆑 |
| - | MBA13:~ ujpadmin$ cat ~/.bash_profile | + | MBA13:~ ujpadmin$ cat ~/.bash_profile🆑 |
| - | export PATH="/usr/local/bin:$PATH" | + | export PATH="/usr/local/bin:$PATH"🈁 |
| MBA13:~ ujpadmin$ | MBA13:~ ujpadmin$ | ||
| パスを設定する. | パスを設定する. | ||
| - | MBA13:~ ujpadmin$ source ~/.bash_profile | + | MBA13:~ ujpadmin$ source ~/.bash_profile🆑 |
| - | MBA13:~ ujpadmin$ env | grep PATH | + | MBA13:~ ujpadmin$ env | grep PATH🆑 |
| - | PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin | + | PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin🈁 |
| - | MBA13:~ ujpadmin$ env | grep PATH | + | MBA13:~ ujpadmin$ env | grep PATH🆑 |
| MBA13:~ ujpadmin$ | MBA13:~ ujpadmin$ | ||
| Subversion(SVN)へのパスが通っているか確認する. | Subversion(SVN)へのパスが通っているか確認する. | ||
| - | MBA13:~ ujpadmin$ which svn | + | MBA13:~ ujpadmin$ which svn🆑 |
| - | /usr/local/bin/svn | + | /usr/local/bin/svn🈁 |
| MBA13:~ ujpadmin$ | MBA13:~ ujpadmin$ | ||
| Line 147: | Line 147: | ||
| インストール時に指示があったように,コマンドを入力すれば良い.まずは,すでにJenkinsが起動していないか確認する. | インストール時に指示があったように,コマンドを入力すれば良い.まずは,すでにJenkinsが起動していないか確認する. | ||
| - | MBA13:~ ujpadmin$ ps -ef | grep jenkins | + | MBA13:~ ujpadmin$ ps -ef | grep jenkins🆑 |
| 501 8219 4835 0 10:35PM ttys001 0:00.00 grep jenkins | 501 8219 4835 0 10:35PM ttys001 0:00.00 grep jenkins | ||
| MBA13:~ ujpadmin$ | MBA13:~ ujpadmin$ | ||
| Line 153: | Line 153: | ||
| 起動してない.次に,Jenkinsを起動する. | 起動してない.次に,Jenkinsを起動する. | ||
| - | MBA13:~ ujpadmin$ brew services start jenkins | + | MBA13:~ ujpadmin$ brew services start jenkins🆑 |
| ==> Tapping homebrew/services | ==> Tapping homebrew/services | ||
| Cloning into '/usr/local/Library/Taps/homebrew/homebrew-services'... | Cloning into '/usr/local/Library/Taps/homebrew/homebrew-services'... | ||
| Line 167: | Line 167: | ||
| Successfullyと出ているので成功した模様.プロセスを確認する. | Successfullyと出ているので成功した模様.プロセスを確認する. | ||
| - | MBA13:~ ujpadmin$ ps -ef | grep jenkins | + | MBA13:~ ujpadmin$ ps -ef | grep jenkins🆑 |
| - | 501 8382 1 0 10:35PM ?? 0:08.94 /usr/bin/java -Dmail.smtp.starttls.enable=true -jar /usr/local/opt/jenkins/libexec/jen | + | 501 8382 1 0 10:35PM ?? 0:08.94 /usr/bin/java |
| + | -Dmail.smtp.starttls.enable=true -jar /usr/local/opt/jenkins/libexec/jen | ||
| kins.war --httpListenAddress=127.0.0.1 --httpPort=8080 | kins.war --httpListenAddress=127.0.0.1 --httpPort=8080 | ||
| 501 8386 4835 0 10:35PM ttys001 0:00.00 grep jenkins | 501 8386 4835 0 10:35PM ttys001 0:00.00 grep jenkins | ||
| Line 177: | Line 178: | ||
| **Jenkinsを停止するbrew services stop jenkins [#p132be46] | **Jenkinsを停止するbrew services stop jenkins [#p132be46] | ||
| - | jenkins | + | brewのservicesコマンドで停止する. |
| - | MBA13:~ ujpadmin$ brew services stop jenkins | + | MBA13:~ ujpadmin$ brew services stop jenkins🆑 |
| Stopping `jenkins`... (might take a while) | Stopping `jenkins`... (might take a while) | ||
| ==> Successfully stopped `jenkins` (label: homebrew.mxcl.jenkins) | ==> Successfully stopped `jenkins` (label: homebrew.mxcl.jenkins) | ||
| MBA13:~ ujpadmin$ | MBA13:~ ujpadmin$ | ||
| - | MBA13:~ ujpadmin$ ps -ef | grep jenkins | + | MBA13:~ ujpadmin$ ps -ef | grep jenkins🆑 |
| 501 8640 4835 0 12:29AM ttys001 0:00.00 grep jenkins | 501 8640 4835 0 12:29AM ttys001 0:00.00 grep jenkins | ||
| - | MBA13:~ nobuaki$ | + | MBA13:~ ujpadmin$ |
| + | |||
| + | 停止が確認できた. | ||
- Jenkins/01/install2.3UseHomeBrewOnMacOSX10.11.4ElCapitan のバックアップ一覧
- Jenkins/01/install2.3UseHomeBrewOnMacOSX10.11.4ElCapitan のバックアップ差分(No. All)
- 1: 2016-05-16 (月) 23:18:12 nobuaki
- 2: 2016-05-17 (火) 00:34:14 nobuaki
- 3: 2016-05-17 (火) 00:34:14 shinnai(shinnai)
- Rewound to 2 ages ago. at 2017-12-04 (月) 23:24:07
- 現: 2019-06-26 (水) 11:31:00 nobuaki
Counter: 1887,
today: 4,
yesterday: 1

