Net/Jenkins
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#topicpath
/////////////////////////////////////////////////////////...
* 目次 [#v154f3da]
#contents();
/////////////////////////////////////////////////////////...
* install [#zf937fad]
//=======================================================...
** インストール [#k4d122fd]
- Jenkins の Key を取得し、 apt-key へ追加
// # wget -q -O - http://pkg.jenkins-ci.org/debian/jenkin...
# wget -q -O - https://pkg.jenkins.io/debian/jenkins.io....
- /etc/apt/sources.list に以下を追加
// deb http://pkg.jenkins-ci.org/debian binary/
deb https://pkg.jenkins.io/debian binary/
- インストールする
# apt-get update
# apt-get install jenkins
//=======================================================...
** 設定 [#w2b29ec1]
- 設定ファイルは /etc/default/jenkins にある
- Jenkins が Listen する port を変更する
# port for HTTP connector (default 8080; disable with -1)
HTTP_PORT=8081
# ↑
# default では 8080 になっている。これが他と被る場合は、...
//=======================================================...
** 起動・終了 [#j55f6292]
- Jenkins を起動する
# /etc/init.d/jenkins start
- Jenkins の状態を確認
# /etc/init.d/jenkins status
- Jenkins を終了する
# /etc/init.d/jenkins stop
- インストール後、システムを起動する際に自動的に Jenkins ...
//=======================================================...
** 初回アクセス [#o82046fd]
- Jenkins を起動後、ブラウザでアクセスする
URI: http://localhost:8081/
-- "Unlock Jenkins" と題されたページが表示され、初期パス...
このページにあるとおり、
/var/lib/jenkins/secrets/initialAdminPassword
に書かれているパスワードをフォームにコピペすれば良い。
-- 次にPlugin をインストールすることになる。~
→ 推奨プラグインをインストールするか、手動で選択・インス...
/////////////////////////////////////////////////////////...
* 参考リンク [#i8ae9166]
- [[Gerrit + Jenkins StartUp- Install Jenkins - MyBetaBoo...
- [[Jenkinsでビルドパラメータで指定するブランチをプルダウ...
終了行:
#topicpath
/////////////////////////////////////////////////////////...
* 目次 [#v154f3da]
#contents();
/////////////////////////////////////////////////////////...
* install [#zf937fad]
//=======================================================...
** インストール [#k4d122fd]
- Jenkins の Key を取得し、 apt-key へ追加
// # wget -q -O - http://pkg.jenkins-ci.org/debian/jenkin...
# wget -q -O - https://pkg.jenkins.io/debian/jenkins.io....
- /etc/apt/sources.list に以下を追加
// deb http://pkg.jenkins-ci.org/debian binary/
deb https://pkg.jenkins.io/debian binary/
- インストールする
# apt-get update
# apt-get install jenkins
//=======================================================...
** 設定 [#w2b29ec1]
- 設定ファイルは /etc/default/jenkins にある
- Jenkins が Listen する port を変更する
# port for HTTP connector (default 8080; disable with -1)
HTTP_PORT=8081
# ↑
# default では 8080 になっている。これが他と被る場合は、...
//=======================================================...
** 起動・終了 [#j55f6292]
- Jenkins を起動する
# /etc/init.d/jenkins start
- Jenkins の状態を確認
# /etc/init.d/jenkins status
- Jenkins を終了する
# /etc/init.d/jenkins stop
- インストール後、システムを起動する際に自動的に Jenkins ...
//=======================================================...
** 初回アクセス [#o82046fd]
- Jenkins を起動後、ブラウザでアクセスする
URI: http://localhost:8081/
-- "Unlock Jenkins" と題されたページが表示され、初期パス...
このページにあるとおり、
/var/lib/jenkins/secrets/initialAdminPassword
に書かれているパスワードをフォームにコピペすれば良い。
-- 次にPlugin をインストールすることになる。~
→ 推奨プラグインをインストールするか、手動で選択・インス...
/////////////////////////////////////////////////////////...
* 参考リンク [#i8ae9166]
- [[Gerrit + Jenkins StartUp- Install Jenkins - MyBetaBoo...
- [[Jenkinsでビルドパラメータで指定するブランチをプルダウ...
ページ名: