[Buildbot-devel] custom checkout command run in shell

Benoit Sigoure tsuna at lrde.epita.fr
Tue Nov 21 11:08:16 UTC 2006


Quoting Fabian Sturm <f at rtfs.org>:
> Hi!
>
> Hmm it seems that the list swallowed my last email :-(
>
> so I just wanted to let you know that i managed to run a buildbot. Which
> is really nice. But I still encounter a problem.
>
> Since I am not compiling the HEAD versions but always when a new label
> exists I need this label (revision) within the buildsteps.
>
> But unfortunately a WithProperties always results in an empty string.
> Which seems to be because I am forcing the builds through the sendchange
> interface.
>
> Is there still a way to get the revision information inside a build
> step?
>
> thank a lot, Fabian
>
>

I'm also interested to know because I can't get it to work.
I also have an empty string. Moreover, you can't use WithProperties to 
construct
a single string for the command (which leads the buildbot to execute 
that string
through sh instead of doing an execve, this has the advantage that environment
variables are available in the form $HOME and tild expansion and other shell
expansions also occur).

-- 
SIGOURE Benoit aka Tsuna
   _____
  /EPITA\ Promo 2008, LRDE





More information about the devel mailing list