[Buildbot-devel] How to integrate multiple commands into one BuildStep?

sadfub at gmx.net sadfub at gmx.net
Wed Dec 5 13:59:38 UTC 2007


Hello,

do I need an custom BuildStep? ATM I've these odd long lines like:

full_factory.addStep(step.ShellCommand, **basic_args(
    command="for i in dist/*; do mv $i /var/www/packages; done && rake
clean && rm -rf /var/www/packages/foobar-current.tgz && cd
/var/www/packages && ln -s *.tar.gz foobar-current.tgz",
    description="Publishing packages",
    descriptionDone="Published packages"))

Should I write a external script, or custom buildStep? Thanks for your
suggestions.





More information about the devel mailing list