Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change Jenkins port #23

Closed
tangzhen opened this issue Oct 28, 2014 · 3 comments
Closed

change Jenkins port #23

tangzhen opened this issue Oct 28, 2014 · 3 comments

Comments

@tangzhen
Copy link

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
Copy link
Owner

stisti commented Oct 29, 2014

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
Copy link

ghost commented Dec 12, 2014

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

@stisti
Copy link
Owner

stisti commented Dec 15, 2014

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
#23 (comment).

@stisti stisti closed this as completed Dec 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants