Hi, Thanks for that. I used your script (modified slightly) and it does what I want.
Thanks again. Arieh. On May 12, 4:00 am, Ruben Willems <[email protected]> wrote: > Hi > > you want to pause the integration for other projects? > if so there is a possibility, but not a build in one :-( > > you can make a console program to stop the integration of all / certain > projects. > Call this via a ccnet to stop the integration of other ccnet projects, > a second project can start the integration again. > > I do this to be able to do a clean upgrade of CCNet at work. > I'll write a blog about it, watch the following url for more details > :http://rubenwillems.blogspot.com/ > > it'll be there the next day(s) > > with kind regards > Ruben Willems > > On Mon, May 11, 2009 at 3:59 AM, Arieh Schneier > <[email protected]>wrote: > > > > > We have a build machine that just builds levels. Sometimes someone > > will check in something broken, or will need to do a multi part check > > in that takes a bit of time (we have a build machine to build some of > > the tools), and we would like to pause the server from building more > > levels so they don't all go red. (It doesn't take long for them to go > > red, but takes ages till they all go green once they are red). > > > My first thought was just have a project (with highest priority) that > > does nothing, but waits until it is cancelled (see below). This works > > except that it is always red itself, is there a way to make the output > > of this project green? (or a better way to implement this?) > > > <project name="Pause Until Cancelled" queue="LevelBuilds" > > queuePriority="1"> > > <triggers /> > > <tasks> > > <exec> > > <executable>c:\Windows\System32\cmd.exe</executable> > > <buildArgs>/C pause</buildArgs> > > <buildTimeoutSeconds>10800</buildTimeoutSeconds> > > </exec> > > </tasks> > > </project>
