1、安装home-brew

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


2、安装Jenkins & nexus

brew install jenkins
brew install nexus 

3、启动jenkis & nexus

brew services start jenkins
brew services start nexus 

4、获取jenkins初始密码

http://localhost:8080 访问Jenkins

http://localhost:8081/nexus 默认账号密码 admin/admin123

5、停止Jenkins & nexus

brew services stop jenkins brew services stop nexus

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注