I was wondering how one could change Jenkins’ default port 8080. Using linux or windows, this is simply done with the configuration file. But the Mac config file of Jenkins looks completely different from the other ones.
Of course one could pass the –httpPort parameter when starting the server, but I want to do this within a config file.
Is there an option for that?
PS: Passing the Jenkins instance through apache would kinda solve the problem, but I want to change the Jenkins port.
Thanks!
I’ll walk you through it:
cd /Applications/Jenkinssudo vi winstone.propertiesAdd
httpPort=9999to the file. To see all the options you can put in there typejava -jar jenkins.war --helprun
java -jar jenkins.warfrom/Applications/Jenkins. Your port will be changed.jenkins.warpicks up config options from./winstone.propertiesby default.