[Buildbot-devel] CVS_RSH environment variable

John Pye john.pye at student.unsw.edu.au
Tue Mar 28 06:41:37 UTC 2006


Hi,

I checked 'man 5 crontab' and it says that you can stick the required 
environment variables at the top of the crontab file. So just added it 
there.

Sticking it in the makefile is perhaps a better idea, since the same 
environment will be shared  by the command line usage and the cron usage.

I wonder if there's a place that environment vars can be placed so that 
they are loaded by both cron and the commandline?

Cheers
JP

Stefan Seefeld wrote:
> John Pye wrote:
>> Hi all,
>>
>> I'm having trouble connecting to sourceforge's CVS server with 
>> BuildBot. The CVS_RSH variable seems not to get getting through to 
>> the buildslave. When I log in as buildslave, I can see that env|grep 
>> CVS_RSH shows the right thing. But when Buildbot attempts to check 
>> out the code, you will see that the CVS_RSH environment variable 
>> isn't there.
>
> Are you sure the variable is set when the slave is started ?
>
> IIUC, the buildslave will simply inherit the environment when you
> start the twistd process. To make sure all the important variables are
> set, and to be independent of actual environments, I set and export all
> relevant variables in the Makefile that I use to start the demon (the
> one buildbot generates when setting up the master / slaves).
>
> So far it seems to work reliably for me.
>
> HTH,
>         Stefan
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting 
> language
> that extends applications into web and mobile media. Attend the live 
> webcast
> and join the prime developer group breaking into this new coding 
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>


-- 
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/





More information about the devel mailing list