ジェンキンスを使用してシステムをインストールするMacコマンド

1>インストール自作

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

2>インストールジェンキンス

brew install jenkins

あなたがするように指示されています。

Updating Homebrew...
jenkins: Java 1.8 is required to install this formula. JavaRequirement unsatisfied! You can install with Homebrew-Cask:

   醸造キャスクは自作/カスク・バージョン/ adoptopenjdk8をインストール

 You can download from: https://www.oracle.com/technetwork/java/javase/downloads/index.html Error: An unsatisfied requirement failed this build. 

3>のJavaをインストールするには、上記のヒントをインストールします

  醸造キャスクは自作/カスク・バージョン/ adoptopenjdk8をインストール

インストールが完了すると正常にインストールが要求されます後、再度、手順2のコマンドを実行します。

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

4>スタートジェンキンスは、ブラウザに入力してくださいhttp://localhost:8080

brew services start jenkins

5>ストップ・ジェンキンス

brew services stop jenkins
 
  

おすすめ

転載: www.cnblogs.com/xiaoduanhe/p/11526337.html