[Buildbot-devel] Alternate shell on win32
Tim Flink
tim at mail.mew.co.jp
Tue Apr 17 08:57:54 UTC 2007
Sorry for the delayed response. I was on vacation last week and didn't
have access to email.
Do you have a 'build' directory within the builder's directory on the
buildslave? (using the config you sent earlier, that would be
longo\build on your buildslave).
When I tried doing this before, I was just replacing the buildsteps for
an existing builder but when I tried your configuration I ended up
creating a new builder and was getting the same shell exception error
you had posted earlier. Once I created a 'build' directory, the error
went away and the 'echo Hello' command worked as expected.
I hope this helps,
Tim
Gianluca Sforna wrote:
> On 4/6/07, Tim Flink <tim at mail.mew.co.jp> wrote:
>> > Is this not from the fedora extras repo? Any particular reason for
>> this?
>> I wanted the latest version, so I installed it from source but I'm using
>> python-twisted etc. from fedora-extras.
>
> Now it should be the latest (I picked up its maintenance since some
> weeks) :)
>
>>
>> Do you have any spaces in your path? If you do, try putting quotes
>> around the command. (c:\documents and settings\buildslave\ would become
>> "c:\documents and settings\buildslave").
>
> nope. I'm trying with C:\buildslave
>
>>
>> Does the directory from which you are trying to call "echo hello" exist?
>>
>> Can you post the complete addStep lines from your master.cfg?
>
> I am pretty sure it does. The buildmaster config has:
>
> s = factory.s
>
> source_vsplus = [ s(step.ShellCommand,
> name = "Prepare builder",
> command = ["echo", "Hello"],
> description = ["Preparing builder"],
> descriptionDone = ["Builder ready"],
> haltOnFailure = True
> ), ]
>
> f3 = factory.BuildFactory( source_vsplus )
>
> builder3 = {'name': "vsplus-win32",
> 'slavename': "longo-winXP",
> 'builddir': "longo",
> 'factory': f3,
> }
>
> and after running the build a "longo" directory is created in
> c:\buildslave
>
> thanks again for the help
>
More information about the devel
mailing list