Re: about config reloading
Mathieu Jobin <[email protected]> Thu, 26 Jan 2012 15:07:49 -0500
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <CB471BF9.A94ED%[email protected]> |
Hi again everyone, Ran several test for the past few weeks. And it seems the content of the config.xml is reread automatically when a build start but only the content within the < project > tags. Anything outside, mail.returnaddress, threads.count, etc. is only reread through a restart. From: Randy Coulman <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Thu, 12 Jan 2012 14:04:25 -0500 To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: [Cruisecontrol-user] running multiple queues on a single cruisecontrol instance. >From what I can tell, reloading has been in since at least 2.4, with some tweaks in 2.6.x releases, so it should be there. I don't know of a way to turn it off. It doesn't necessarily reload immediately after a change - it has to get to a safe spot in its queue processing first. For example, if it's waiting for a quiet period to elapse, it won't reload at that point, but only when it moves on to the next project. Is there something in your build configuration that is keeping it tied up on a single project for a long time? Randy On Thu, Jan 12, 2012 at 10:16 AM, Mathieu Jobin <[email protected]<mailto:[email protected]>> wrote: Thanks Randy, That's what I had been told. I just tried. And my CC is not re-reading the file automatically. I don't see it in the log. Is it possible that feature could have been disabled? We are still using a old version. 2.7.3 Mathieu From: Randy Coulman <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Thu, 12 Jan 2012 10:33:12 -0500 To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: [Cruisecontrol-user] running multiple queues on a single cruisecontrol instance. I don't know of any way of having multiple queues, but others would know better than I would. However, I can answer your last question. Cruisecontrol automatically re-reads its configuration file whenever it changes, so there is no need to restart it to get it to reload. If you watch the log file after you save a configuration change, you'll see the output from it reloading. Randy On Thu, Jan 12, 2012 at 6:09 AM, Mathieu Jobin <[email protected]<mailto:[email protected]>> wrote: Hi everyone, Happy new year! My first post on this list. My company is using cruisecontrol for quite some time already, several years. But I am managing it only for a few months. So there are still a lot of things I do not know about cruisecontrol. I was wondering if we could have two queues for a single instance of cruisecontrol ? Many people are asking the other way around, where they want several cruisecontrol process on 1 or many servers to report back into one dashboard. I kinda want the opposite. That instead of running 2 cruisecontrol or more. It would manage 2 queues by itself. The reason being is that I want to separate products from different team and also products that are taking a lot of time versus small ones. And giving them a thread limit per queue. So, if my server is able to take on a charge of 20 thread for example. I could dedicate 5 or 6 to some products, 5 or 6 to some others and keeping some available for an emergency queue, in which I could add product to compile right away. By the way, we haven't found a way to tell cruisecontrol to re-read his config.xml file. Restarting it is the only options at the moment, which I don't like as it creates interruption and all projects gets requeued automatically. Something like " kill –HUP $cc_pid " would be awesome ;) Thanks Mathieu Jobin ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Cruisecontrol-user mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user -- Randy Coulman [email protected]<mailto:[email protected]> ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Cruisecontrol-user mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user -- Randy Coulman [email protected]<mailto:[email protected]> ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user