[Buildbot-devel] Setting up buildbot to obtain Git repository on windows xp

Tomasz Kuczera kuczer at googlemail.com
Sat Mar 6 21:57:11 UTC 2010


Dear All,

I am new with build bot.
I started from setting up the skeleton in master.cfg file and all work fine
now for me.
My goal is to set up the build bot for building certain sources that will be
obtained from Git server.

I am using windows xp.

All work until I tried to addStep to factory to  fetch git repository.

If I used bellow

.addStep(Git(repourl="ssh://....."))

on slave cmd line console git will ask me for password and script will not
continue after I request a build.

I have to say that I add  rsa key to git hub so if I use git bash I do not
need to enter any password.

I think the problem is that buildbot use the windows command line console to
perform commands and that is why
the script will not continue.

Does any one of you know or encounter similar issue ?

Moreover I found a way to actually enter the mode that bash console has by
simple running bellow command

addStep(ShellCommand(command=["sh --login -i"]))

but how to execute second command in same console? Is the ShellCommand
supposed to allow to execute just one command ?

I am asking about that because when using windows command line first I need
to type "sh --login -i" to enter git bash mode (see  Git Bash Console from
Windows cmd line.PNG ) and later enter actual git command. In this way I
will not be prompted for entering password.

Appreciate for any help

Tomasz Kuczera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20100306/a2198952/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Git Bash Console from Windows cmd line.PNG
Type: image/png
Size: 12050 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20100306/a2198952/attachment.png>


More information about the devel mailing list