[Buildbot-devel] Git builder silently drops back to HEAD (master) if a branch isn't found

Amber Yust amber.yust at gmail.com
Fri Aug 9 20:58:05 UTC 2013


I think that's actually a Git behavior, rather than a Buildbot one.

Buildbot should probably try to detect this case, but I'm not sure what the
best way to have it go about doing that would be.


On Fri, Aug 9, 2013 at 7:54 AM, Chris Morgan <chmorgan at gmail.com> wrote:

> Hello.
>
> Buildbox 0.8.6p1 here. Its a great tool but I had a question about
> configuration.
>
> I can't seem to figure out how to configure a git builder to fail if
> the specified branch isn't found. We've had several cases where people
> have plugged in an invalid branch, or a partial sha in place of the
> branch field. The build runs and completes without error but you can
> see from the log that it didn't do what was expected:
>
> Cloning into '.'...
> warning: Remote branch aa7391a not found in upstream origin, using HEAD
> instead
>
>
> I've looked through the manual and can't seem to find a setting for
> this. Google search hasn't turned up anything either.
>
> Is there some way to cause the clone to fail out instead of falling
> back to HEAD or master?
>
> Chris
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> 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/20130809/0d827669/attachment.html>


More information about the devel mailing list