[Buildbot-devel] info needed on overall build result and waterfall display page

Anantvijay K anantvijayk.ml at gmail.com
Fri Jun 26 07:31:28 UTC 2009


Hi Ian,

Thanks for your quick response.

"warnOnFailure" seems to be the closest to my usecase. But still it makes
the overall build as warnings. So it seems there is no option in buildbot to
make the overall build as "SUCCESS" when one of the step fails and others
pass.

Hi list,  any pointers to my query #2 ??

 >> 2. I want to change couple of things on the waterfall results display
page.
>> # By default the logs for each step are named as "stdio". How do i change
it to say "xyz"
>> # Also i dont want the log for a particular step. So the step will only
display the step description and it should not show the stdio link. Help??
>> # By default, a build number is given buildbot. I want a custom
number/string instead of the default number.. help again???

Does it need to modify the buildbot source or is there a way out
externally??


Thanks,
Anantvijay




On Thu, Jun 25, 2009 at 7:40 PM, Ian Peters-Campbell <mahatmamanic at gmail.com
> wrote:

> For #1, you can instantiate a build step with a number of handy parameters,
> including:
>  haltOnFailure if True, a FAILURE of this build step will cause the build
> to halt immediately. Steps with alwaysRun=True are still run. Generally
> speaking, haltOnFailure implies flunkOnFailure (the default for most
> BuildSteps). In some cases, particularly series of tests, it makes sense to
> haltOnFailure if something fails early on but not flunkOnFailure. This can
> be achieved with haltOnFailure=True, flunkOnFailure=False.
> flunkOnWarnings when True, a WARNINGS or FAILURE of this build step will
> mark the overall build as FAILURE. The remaining steps will still be
> executed.
> flunkOnFailure when True, a FAILURE of this build step will mark the
> overall build as a FAILURE. The remaining steps will still be executed.
> warnOnWarnings when True, a WARNINGS or FAILURE of this build step will
> mark the overall build as having WARNINGS. The remaining steps will still be
> executed.
> warnOnFailure when True, a FAILURE of this build step will mark the
> overall build as having WARNINGS. The remaining steps will still be
> executed. Those should allow you to have pretty fine-grained control over
> your succes/failure based on individual step results.
>
> Ian
>
>
>   On Thu, Jun 25, 2009 at 4:50 AM, Anantvijay K <anantvijayk.ml at gmail.com>wrote:
>
>>   Hi list,
>>
>> I'm new to buildbot. My setup is working fine. I've 2 queries.
>>
>> 1. The build runs in 5 steps. Usually the step number 4 fails and all
>> remaining steps passes. Since one of the step is failing, the overall build
>> result is shown as "FAILURE". But i want the buildbot to state the build as
>> SUCCESS irrespective of the result of the step number 4. I mean to say that
>> even if the step:4 fails and other steps pass, the overall result should
>> pass.
>> how do i achieve this?
>>
>> 2. I want to change couple of things on the waterfall results display
>> page.
>> # By default the logs for each step are named as "stdio". How do i change
>> it to say "xyz"
>> # Also i dont want the log for a particular step. So the step will only
>> display the step description and it should not show the stdio link. Help??
>> # By default, a build number is given buildbot. I want a custom
>> number/string instead of the default number.. help again???
>>
>>
>> Thanks in advance,
>> Anantvijay
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Buildbot-devel mailing list
>> Buildbot-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090626/283c9ad8/attachment.html>


More information about the devel mailing list