[Buildbot-devel] custom checkout command run in shell

f at rtfs.org f at rtfs.org
Mon Nov 20 21:40:52 UTC 2006


Hi!

Thanks for your patience, I now got it working.
It seems I worked on the wrong config file :-(

> f1.source = s(step.ShellCommand, command=[ r'C:\Python24\pyton.exe'
>                                          , C:\clearcase_checkout.py
>                                          , WithProperties("%s",
> "revision")
>                                          ])

But I still have some trouble. I force the builds by running the command:

        cmd = "buildbot sendchange --master="+change['master']+"
--revision=\""+change['revision']+"\"
--username=\""+change['username']+"\"
--comments=\""+change['comments']+"\" "+" ".join(change['files'])

Which works great, and the log says that the revision is set.
But still I only get the empty string for the WithProperties("%s",
"revision")
ind the shell command.

Any ideas how I can get the revision string?

Thanks, Fabian







More information about the devel mailing list