[Buildbot-devel] CVS_RSH environment variable
John Pye
john.pye at student.unsw.edu.au
Tue Mar 28 05:42:20 UTC 2006
Hi,
This problem is actually covered in the manual. Solution was to add the line
CVS_RSH = ssh
at the top of the 'crontab -e' file for the buildslave user.
Sorry for the botheration.
JP
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.
>
> What is the right way to pass variables to the step.CVS environment?
>
> This went wrong after I renamed an existing build target. Before that
> it was working.
>
> cvs -d :ext:XXXXX at cvs.sourceforge.net:/cvsroot/freesteam -z3 checkout
> -d build -r HEAD freesteam
> in dir /home/buildslave/slave/freesteam-tests (timeout 1200 secs)
> argv: ['cvs', '-d',
> ':ext:XXXX at cvs.sourceforge.net:/cvsroot/freesteam', '-z3', 'checkout',
> '-d', 'build', '-r', 'HEAD', 'freesteam']
> environment: {'MAILTO': 'john.pye at XXXXXXXXXXXX', 'SHELL': '/bin/sh',
> 'SHLVL': '1', 'PWD': '/home/buildslave', 'LOGNAME': 'buildslave',
> 'USER': 'buildslave', 'PATH': '/usr/bin:/bin', 'HOME':
> '/home/buildslave', '_': '/usr/bin/buildbot'}
> cvs.sourceforge.net: Connection timed out
> cvs [checkout aborted]: end of file from server (consult above
> messages if any)
>
>
> Any ideas?
>
> Cheers
> JP
>
--
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