OS XにJenkinsをインストール

Homebrewをインストール

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

Homebrewを使ってJenkinsをインストール

sudo brew install jenkins

エラーが発生した場合、これで解決

refusing to 'sudo brew install'
sudo chown -R /usr/local
sudo brew install jenkins

homebrewアップデート時に起動ファイルが更新されないようにホームにコピー

cp -p /usr/local/opt/jenkins/*.plist ~/Library/LaunchAgents

自動起動の設定

launchctl load ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist

起動

launchctl start homebrew.mxcl.jenkins

ここではデフォルト設定の「http://localhost:8080」で確認出来ます。 起動設定は「homebrew.mxcl.jenkins.plist」で変更出来ます。

if S + V、whether S + Vの使い方

「if S + V」、「whether S + V」の使い方をよく調べるのでメモ。

if S + V

・名詞節

S + V かどうか

・副詞節

もし S + V なら

 

whether S + V

・名詞節

S + V かどうか

・副詞節

S + V であろうとなかろうと

used to の使い方

「used to ~」の使い方を何度も調べているのでメモ。

 

・used to ~(~=原形動詞)・・・~したものだ、かつて~だった
My father used to go fishing on Sundays.
I used to be pretty.

・be used to ~(~=名詞・動名詞)・・・~に慣れている
I'm used to Japanese food.
I'm used to eating Japanese food.

・be used to ~(~=原形動詞)・・・~するために使われる
Computers are used to make our life more convenient.

・be used for ~(~=名詞・動名詞)・・・~のために使われる
Computers are used for making our life more convenient.
A lot of chocolate is used for this cake.