stisti / jenkins-app

Make Jenkins behave like a Mac application to make it easier to manage.
246 stars 20 forks source link

change Jenkins port #23

Closed tangzhen closed 9 years ago

tangzhen commented 9 years ago

I want to change the port of Jenkins server, but I tried the command:

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

But it seems doesn't work.

stisti commented 9 years ago

Yes that works in the official Jenkins, but you have to change the http port in a different way in Jenkins.app.

The Jenkins app pops up two dialogs when it starts up. In the first dialog you can set the JVM options and in the second dialog you can set the Jenkins options like the http port. See https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins

-- Sami

Zhen Tang notifications@github.com kirjoitti 28.10.2014 kello 10.12:

I want to change the port of Jenkins server, but I already tried the command:

sudo defaults write /Library/Preferences/org.jenkins-ci httpPort 7070 But it seems doesn't work.

— Reply to this email directly or view it on GitHub.

ghost commented 9 years ago

Is there any way to modify the jenkins params when launching jenkins as login item?

stisti commented 9 years ago

When Jenkins.app starts, it displays a dialog asking if you want to customize Jenkins startup. If you click "Change defaults", you get to change both the JVM command line options (the options before -jar option) and Jenkins options (the options after -jar). Jenkins.app will remember the settings you specify as the new defaults.

If you just wait for 15 seconds, Jenkins.app will automatically start up using the defaults.

2014-12-12 14:37 GMT+02:00 ronjawilkening notifications@github.com:

Is there any way to modify the jenkins params when launching jenkins as login item?

— Reply to this email directly or view it on GitHub https://github.com/stisti/jenkins-app/issues/23#issuecomment-66767452.