通过homebrew安装Jenkins

通过homebrew安装Jenkins

终端运行如下命令安装Jenkins:

$ brew install jenkins

如果安装出错,提示需要安装Java什么的,执行下面的命令后再重新安装Jenkins:

$ sbrew cask install java

现在访问localhost:8080是被拒绝的。然后在终端运行:

$ jenkins

等看到如下提示后启动完成

$ Jenkins is fully up and running

更新jenkins

$ brew upgrade jenkins

重启jenkins

$ brew services restart jenkins

你可能感兴趣的:(通过homebrew安装Jenkins)