[Buildbot-devel] custom checkout command run in shell

f at rtfs.org f at rtfs.org
Mon Nov 20 16:44:12 UTC 2006


Hello List!

I wonder how I can implement a custom source checkout command in
buildbot.

For this step I only have to run a shell script with the workdir and
revision string.

But it always falls back to use cvs ??

I tried several non successfull configurations like e.g.:

from buildbot.process import step, factory
f1 = factory.BuildFactory()

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

b1 = {'name': "buildbot-full",
      'slavename': "compile_and_link",
      'builddir': "full",
      'factory': f1,
      }
c['builders'] = [b1]

Any suggestions would be really great!!

Thanks a lot, Fabian





More information about the devel mailing list