예제 #1
0
 def setupUsualPages(self, numbuilds, num_events, num_events_max):
     #self.putChild("", IndexOrWaterfallRedirection())
     self.putChild(
         "waterfall",
         WaterfallStatusResource(num_events=num_events,
                                 num_events_max=num_events_max))
     self.putChild("grid", GridStatusResource())
     self.putChild(
         "console",
         ConsoleStatusResource(orderByTime=self.orderConsoleByTime))
     self.putChild("tgrid", TransposedGridStatusResource())
     self.putChild(
         "builders",
         BuildersResource(numbuilds=numbuilds))  # has builds/steps/logs
     self.putChild("one_box_per_builder", Redirect("builders"))
     self.putChild("changes", ChangesResource())
     self.putChild("buildslaves", BuildSlavesResource())
     self.putChild("buildstatus", BuildStatusStatusResource())
     self.putChild("one_line_per_build",
                   OneLinePerBuild(numbuilds=numbuilds))
     self.putChild("about", AboutBuildbot())
     self.putChild("authfail", AuthFailResource())
     self.putChild("authzfail", AuthzFailResource())
     self.putChild("users", UsersResource())
     self.putChild("login", LoginResource())
     self.putChild("logout", LogoutResource())
예제 #2
0
 def setupUsualPages(self):
     #self.putChild("", IndexOrWaterfallRedirection())
     self.putChild("waterfall", WaterfallStatusResource())
     self.putChild("grid", GridStatusResource())
     self.putChild("builders", BuildersResource())  # has builds/steps/logs
     self.putChild("changes", ChangesResource())
     self.putChild("buildslaves", BuildSlavesResource())
     #self.putChild("schedulers", SchedulersResource())
     self.putChild("one_line_per_build", OneLinePerBuild())
     self.putChild("one_box_per_builder", OneBoxPerBuilder())
     self.putChild("xmlrpc", XMLRPCServer())
     self.putChild("about", AboutBuildbot())