osdir.com
mailing list archive

Subject: Re: adding build steps on the fly - msg#00062

List: python.buildbot.devel

Date: Prev Next Index Thread: Prev Next Index
Brian Gerkey wrote:
> hi,
>
> Is it possible to add a build step on the fly, during a build?
>
> In particular, when a build is triggered, I want to process the list
> of changed files and potentially add new steps as a result of
> processing.

The easier way may be to always add all the steps but subclass them so
that they only execute if certain build property(ies) have certain
values. I posted some code for that in this thread:
http://article.gmane.org/gmane.comp.python.buildbot.devel/3384.

Sergey.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Buildbot 1.0: The Shimmering Vision

I'd like to see tighter integration with popular build/testing tools. For instance, if I'm working on a pyunit extension to output the test results into HTML format. I'd like to be able to receive this with the email that notifies me of a failed build. In addition, quite a few build/test tools such as ANT have the ability to output their data into XML format. I believe there's already an pyunit extension that generates this XML format. -Mark On 8/9/08, Dustin J. Mitchell <dustin-7LH+4Oslcb7QT0dZR+AlfA@xxxxxxxxxxxxxxxx> wrote: > OK, folks, I've summarized the discussion so far at: > http://buildbot.net/trac/wiki/BuildbotOneOh > > Please, others who have not yet spoken up, let's hear your ideas. > Think outside the box! :) > > > Dustin > > -- > Storage Software Engineer > http://www.zmanda.com > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Buildbot-devel mailing list > Buildbot-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/buildbot-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/

Next Message by Date: click to view message preview

Re: continuous integration comparison needs update for buildbot

Charles Lepple wrote: > On Wed, Nov 14, 2007 at 1:01 AM, Sergey A. Lipnevich > <sergey-yVxcFSMPtvJJsNfz3m1ccw@xxxxxxxxxxxxxxxx> wrote: >> Christian Unger wrote: >>> http://damagecontrol.codehaus.org/Continuous+Integration+Server+Feature+Matrix >> I updated the matrix. A review is appreciated! > > It looks like this page moved, but they may have imported an old > version of the matrix - there are a whole lot of question marks in the > buildbot column: > > http://confluence.public.thoughtworks.org/display/CC/CI+Feature+Matrix > > Does anyone have some time to update this again? I'd do that but I can't find a way to register for an account on ThoughtWorks' public wiki. Do you know how? I used to have an account on CodeHaus wiki and write access to the original page. Sergey. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/

Previous Message by Thread: click to view message preview

Re: Not executing a step if the build is about to fail

Sergey A. Lipnevich wrote: > Hi, > > I have a build that has the following structure: > prepare (halt on failure) > before (halt on failure) > build (flunk on failure) > after (flunk on failure) > package (flunk on failure) > kick off more builds without waiting for completion > > I'd like "package" and "kick off more builds" steps not to run if > anything in front of them in the chain fails (mostly, if "build" fails). > At the same time, if "before" succeeds, "after" *must* run. In effect, I > need a "don't run this step if build as a whole is guaranteed to fail" > flag. What would be the best way to accomplish this? Here's what I came up with. I subclass a step that needs the logic described above, and do something along these lines: from buildbot.status.builder import SKIPPED, SUCCESS, WARNING from buildbot.steps.shell import ShellCommand class MyStep(ShellCommand): # __init__ here... def start(self): '''Don't start if the build is going to fail.''' if self.build.result in (SUCCESS, WARNING): return ShellCommand.start(self) return SKIPPED Also, a property can be analyzed easily: def start(self): '''Only run on trunk.''' if self.build.result in (SUCCESS, WARNING): try: if 'trunk' == self.getProperty('branch'): return ShellCommand.start(self) except KeyError: pass return SKIPPED HTH, Sergey. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/

Next Message by Thread: click to view message preview

createTestsSummary and sub createTestsSummary

Hi, I m searching to generate sub test summaries. I understood how to do a summary from a builderstep with LogLineObserver. The link is in waterfall and when I click I see my generated html. Now I try to generate a sub page to get a summary of a test set. That is more valuable to see the summary of summary that to get a lot of red/green numbers. I can create a link whose calls an action in a class to generate a page, but I don't find how to store a static html page and reload it. And I don't want to generate dynamically the summary. I implemented this solution but a lot of code of buildbot is added/modified. I try to implement: Test step (waterfall) -> html summary of test sets -> summary for each set -> log (ok) (ok) (KO I build the html page, but I don't find how to save it and reload it) I don't want to modify the code of buildbot, I try only to add an optional feature. I look twisted API but I don't find where to begin to search... Thanks for help, Claude ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by