自启动文件路径

/Library/LaunchDaemons/org.jenkins-ci.plist

jenkins.war 执行文件路径

/Applications/Jenkins/jenkins.war

配置运行脚本 文件

/Library/Application\ Support/Jenkins/jenkins-runner.sh

卸载脚本 文件

/Library/Application\ Support/Jenkins/Uninstall.command

 

 


修改端口为 9999

sudo defaults write /Library/Preferences/org.jenkins-ci httpPort '9999'

读取配置

defaults read /Library/Preferences/org.jenkins-ci

自启动

sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plis

取消自启动

sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist

 

相关文章:

  • 2021-12-05
  • 2021-11-21
  • 2021-04-01
  • 2021-10-25
  • 2021-09-04
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2021-08-24
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
相关资源
相似解决方案