[Buildbot-devel] "Force build" buttons missing?

Pierre Tardy tardyp at gmail.com
Tue Aug 21 19:46:41 UTC 2012


You need to declare a forcescheduler in order to configure how do you want
to allow people to force builds

http://buildbot.net/buildbot/docs/latest/manual/cfg-schedulers.html#forcescheduler-scheduler

Pierre


On Tue, Aug 21, 2012 at 9:29 PM, Dan Kegel <dank at kegel.com> wrote:

> Hey folks,
> I'm testing https://github.com/buildbot/buildbot.git, and noticed that
> there is no "Force Build" button where I expect it to be on the
> builder's page, even
> though I'm logged in.
> There is a "Ping Builder" button, though.  And during a build, I can
> click stop build.
>
> On the Builders page, I see static text
>
> Force Selected Builds
> Force All Builds
>
> with no buttons or ways to select text.
>
> Here's how the web status object is configured:
>
>     authz_users = [ ( FOO_USER, FOO_PASS ) ]
>     authz_cfg = authz.Authz( auth = auth.BasicAuth( authz_users ),
>                              gracefulShutdown = False,
>                              forceBuild = True,
>                              forceAllBuilds = True,
>                              pingBuilder = True,
>                              stopBuild = True,
>                              stopAllBuilds = True,
>                              cancelPendingBuild = True )
> ...
>     ws = html.WebStatus( http_port = DEF_HTTP_PORT[ product ], authz =
> authz_cfg, order_console_by_time = True )
> ...
>
> Using allowBuild = True instead of authz doesn't seem to help.
>
> Am I missing something?  How does one track down problems like this?
>
> Thanks,
> Dan
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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/20120821/f7fa1f97/attachment.html>


More information about the devel mailing list