[Buildbot-devel] WinXP and Login Sessions
Mark MacVicar
mark.macvicar at gmail.com
Mon Aug 18 22:50:37 UTC 2008
Yep, I am using that bit of code in my python script that starts Buildbot.
Yeah, it only has a problem when I logout during a build. The service
keeps running, just that one build has problems.
I'll try using the script you pointed at
(http://buildbot.net/repos/trunk/contrib/windows/buildbot_service.py).
I've seen that script before but hadn't heard much about it.
Thanks,
Mark MacVicar
On Fri, Aug 15, 2008 at 5:04 PM, Charles Lepple <clepple at gmail.com> wrote:
> On Fri, Aug 15, 2008 at 7:47 PM, Mark MacVicar <mark.macvicar at gmail.com> wrote:
>> I run buildbot as a service under WinXP following the instructions
>> here http://ascendwiki.cheme.cmu.edu/BuildBot. I'm using MS Visual
>> Studio's command line tool to compile
>
> When you set up the service, was this bit of code on that page?
>
> #-----8<----
> #Ignore signal on user logout
> # -- thanks to Matthieu Brucher
> import win32api
>
> def sighandler(sig):
> print "received signal %s" % (sig,)
> return True
>
> win32api.SetConsoleCtrlHandler(sighandler, True)
> #-----8<----
>
> It looks like that should handle things.
>
> Ping me next week and I'll check and see what I had to do to get my
> Win32 buildslave working (although I don't remember following those
> instructions myself - maybe one of the other Windows experts at work
> helped me set up the service?)
>
> Then again, does it only kill the build if you log out while a build
> is active? I think I usually just log out before the build starts.
> (It's a VM and the build needs all the memory it can get.)
>
> --
> - Charles Lepple
>
More information about the devel
mailing list