[Buildbot-devel] CVS_RSH environment variable

Stefan Seefeld seefeld at sympatico.ca
Tue Mar 28 05:40:34 UTC 2006


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




More information about the devel mailing list