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

Chris Morgan chmorgan at gmail.com
Fri Aug 9 14:54:15 UTC 2013


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




More information about the devel mailing list