UJP - 技術情報2 バックアップ : Jenknins/install/Mojave のバックアップ差分(No.1)

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

1: 2019-06-26 (水) 11:09:21 nobuaki ソース バックアップ No.1 を復元して編集
Line 1: Line 1:
 +*JenkinsをMacOSX10.14.4Mojaveにインストールする [#m410d4dc]
 +
 +**はじめに [#z53ed851]
 +
 + macOS 10.14.4のMojaveに,Jenkinsをインストールする.Jenkinsは,現在のところJava8が必要になっているが,Java8はあらかじめ別の方法でインストールしておく.
 +
 + $ brew info jenkins🆑
 + jenkins: stable 2.182, HEAD🈁
 + Extendable open source continuous integration server
 + https://jenkins.io/
 + Not installed
 + From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/jenkins.rb
 + ==> Requirements
 + Required: java = 1.8 ✔🈁
 + ==> Options
 + --HEAD
 +  Install HEAD version
 + ==> Caveats
 + Note: When using launchctl the port will be 8080.🈁
 +
 + To have launchd start jenkins now and restart at login:
 +   brew services start jenkins🈁
 + Or, if you don't want/need a background service you can just run:
 +   jenkins
 + ==> Analytics
 + install: 5,472 (30 days), 17,415 (90 days), 73,639 (365 days)
 + install_on_request: 5,169 (30 days), 16,436 (90 days), 67,397 (365 days)
 + build_error: 0 (30 days)
 + $
 +
 + Jenkinsのバージョンは2.182で,Webサーバのポートは8080であることが確認できる.
 +
 + また,起動時のコマンドも記載されている.
 +
 +**インストールの実施 [#g195bf56]
 +
 + HomeBrewにて,Jenkinsのインストールを行う.
 +
 + $ brew install jenkins🆑
 + Updating Homebrew...
 + ==> Auto-updated Homebrew!
 + Updated 4 taps (homebrew/cask-versions, homebrew/core, homebrew/cask and caskroom/versions).
 + ==> New Formulae
 + anime-downloader
 + ==> Updated Formulae
 + corectl          dnstwist        duck            glooctl
 + terraform        vamp-plugin-sdk
 +
 + ==> Downloading http://mirrors.jenkins.io/war/2.182/jenkins.war
 + ==> Downloading from http://ftp.yz.yamagata-u.ac.jp/pub/misc/jenkins/war/2.182/jenkins.war
 + ######################################################################## 100.0%
 + ==> jar xvf jenkins.war
 + ==> Caveats
 + Note: When using launchctl the port will be 8080.
 +
 + To have launchd start jenkins now and restart at login:
 +   brew services start jenkins
 + Or, if you don't want/need a background service you can just run:
 +   jenkins
 + ==> Summary
 + 🍺  /usr/local/Cellar/jenkins/2.182: 7 files, 77.6MB, built in 47 seconds
 + $
 +
 + インストール完了.
 +
 +**Jenkinsを起動する [#t5e3c1bf]
 +
 + まずは,プロセスが稼働しているか確認.
 +
 + $ ps -ef | grep jenkins🆑
 +   501 75392 46520  0 12:53AM ttys000    0:00.01 grep jenkins
 + $
 + 起動してない.
 +
 + 起動する.
 +
 + $ brew services start jenkins🆑
 + ==> Tapping homebrew/services
 + Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services'...
 + remote: Enumerating objects: 12, done.
 + remote: Counting objects: 100% (12/12), done.
 + remote: Compressing objects: 100% (9/9), done.
 + remote: Total 12 (delta 0), reused 7 (delta 0), pack-reused 0
 + Unpacking objects: 100% (12/12), done.
 + Tapped 1 command (41 files, 58.9KB).
 + ==> Successfully started `jenkins` (label: homebrew.mxcl.jenkins)
 + $
 + 起動した模様.
 +
 + プロセスを確認.
 +
 + $ ps -ef | grep jenkins🆑
 +   501 75993    1  0 12:53AM ??        0:07.98 /Library/Java/JavaVirtualMachines
 + /adoptopenjdk-8.jdk/Contents/Home/bin/java -Dmail.smtp.starttls.enable=true -jar
 + /usr/local/opt/jenkins/libexec/jenkins.war --httpListenAddress=127.0.0.1 --httpPort=8080
 +   501 75997 46520  0 12:53AM ttys000    0:00.00 grep jenkins
 + $
 + プロセスが確認できた.


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom
Counter: 844, today: 1, yesterday: 0

広告スペース
Google