[Buildbot-devel] custom build steps

Mark Roddy markroddy at gmail.com
Wed Feb 11 23:42:57 UTC 2009


Your example is obviously a simplified version of whatever it is you'd
like to accomplish so I can't be sure that I am under the correct
impression of your goal, but if you're trying to run your build via
buildbot I think you should consider keeping the python code you want
to execute under source control.  I try to keep any code needed for
the build process in source control and not in buildbot itself to
ensure that any dev on the team can perform all necessary steps for
the build on their local machine.  Unless there's something unique to
what you're trying to accomplish, this is what I would advise.

-Mark


On Wed, Feb 11, 2009 at 6:18 PM, Ian Peters-Campbell
<mahatmamanic at gmail.com> wrote:
> Is there a form of existing BuildStep which, assuming I have Python and the
> relevant libraries installed on the BuildSlave, would let me run the Python
> code from the build step's start method (or some other arbitrary function)
> locally to the build slave rather than the build master?  So for instance,
> if I had code such as:
>
> f = open('foo.txt', 'w')
> f.write("bar")
> f.close()
>
> I would want the file foo.txt to appear on the build slave rather than on
> the build master.
>
> If not I guess I can write my code to a file, send the file down with a
> FileDownload, and then execute it with a ShellCommand, but that feels like
> the long way around the lake, and I figured I'd ask before I went with that.
>
> Thanks
> Ian
>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>




More information about the devel mailing list