Jenkins environment setup

The first way: Install jenkins by installing the package (the local way)

 

  1. Set the port: sudo defaults write /Library/Preferences/org.jenkins-ci httpPort 7070
  2. Start Jenkins: sudo launchctl load -w /Library/LaunchDaemons/org.jenkins-ci.plist
  3. 重启Jenkins: sudo launchctl unload -w /Library/LaunchDaemons/org.jenkins-ci.plist 

The second method: run by putting the war package into tomcat (this method is recommended, it is convenient and fast, try it later)

 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326814221&siteId=291194637