Okay, so this would be the easiest way? Is there any other way? yourhost:8080/name does indeed look a bit confusing. Is there any way I can get yourhost:8080 as one jenkins and yourhost:8081 as another?
On Monday, September 17, 2012 9:07:37 PM UTC+2, Mandeville, Rob wrote: > > I went to https://wiki.jenkins-ci.org/display/JENKINS/Tomcat and > double-checked. What you do depends on how you want the URLs to look. > > > > If you have Tomcat on yourhost:8080, then adding a Jenkins war file called > “jenkins.war” will create a Jenkins instance rooted at > http://yourhost:8080/jenkins. Adding a second one as “Jenkins.war” will > create http://yourhost:8080/Jenkins. This looks too confusing. > > > > If you want multiple Jenkins instances all available at port 8080, make > copies of your Jenkins WAR file with names matching what you want for URL. > Rename it minecraft1.war for http://yourhost:8080/minecraft1. > > > > Also, you will need to set the environment using the servlet context > descriptor. If you use an actual environment variable, that’s the same > throughout Tomcat (as Tomcat is one process), and all the Jenkins instances > will be pointing to the same configuration (and job run) files. Even if > you want them to be identical, this is *not* how you want to do it. > > > > --Rob > > > > > > *From:* jenkins...@googlegroups.com <javascript:> [mailto: > jenkins...@googlegroups.com <javascript:>] *On Behalf Of *FerkSwe > *Sent:* Monday, September 17, 2012 2:02 PM > *To:* jenkins...@googlegroups.com <javascript:> > *Subject:* Re: Multiple jenkins's on one mashine > > > > Okay, let's say I go with the tomcat solution. > > Then I would first install tomcat, and in Tomcat's home/webapps I would > put jenkins.war? And to add another jenkins just rename it Jenkins.war > maybe? > > If I understand the guide Tomcat will take care of the rest after I give > it a war file to play with. > > > > Have I understood things correct? > > > > Thanks for your response! > > > On Monday, September 17, 2012 4:05:22 AM UTC+2, DarkRift wrote: > > For a start, jenkins saves its configurations in a folder so to be > independant of each other you need to override it for each instance : > https://wiki.jenkins-ci.org/display/JENKINS/Tomcat > > > > Also other options to set the http port and others are specified here : > https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins > > > > I'm on my iphone, so hard to write long explanation text, but that's a > start. > > > > Richard > > > > > > > On 2012-09-16, at 21:33, FerkSwe <fredr...@gmail.com> wrote: > > Hello everyone. I'm sorry if what I am about to ask will sound > completely retarded, but then so be it. > > > > Okay, first off, I have no idea what I'm doing and the only reason I'm > doing it is because I want to be able to provide free jenkins's for people > that want them, specifically within the minecraft community. I have a > thread on the bukkit > forums<http://forums.bukkit.org/threads/free-stuff-and-stuff.75790/>where I > give testservers, webhosting, filehosting and similar away and I > want to add jenkins to that list. But to be able to do that I am coming to > you with my questions. > > > > So, I have a Dedicated server with CentOs 6 on it. Upon this I wish to > host more than one Jenkins. And I have no clue how. > > I do know that I would prefer if each Jenkins had it's own user, it's own > port and can be controlled individually. > > > > I'm sorry if some of you get offended by me not reading up on stuff but I > have tried and it's just very confusing. > > I came across this > thread<http://jenkins.361315.n4.nabble.com/Multiple-masters-on-same-host-td3334630.html> > but > it didn't really help me all that much since, as stated before, I have no > clue what I am doing. > > > > So if someone could point me in the right direction, maybe a tutorial or > something? Or maybe even be so nice as to explain it to me I would be very > thankful. > > > > Thanks for atleast reading my silly request. > > FerkSwe > > The information in this message is for the intended recipient(s) only > and may be the proprietary and/or confidential property of Litle & Co., > LLC, and thus protected from disclosure. If you are not the intended > recipient(s), or an employee or agent responsible for delivering this > message to the intended recipient, you are hereby notified that any use, > dissemination, distribution or copying of this communication is prohibited. > If you have received this communication in error, please notify Litle & Co. > immediately by replying to this message and then promptly deleting it and > your reply permanently from your computer. >