[Buildbot-devel] Adding Links to buildbot status pages

tom fogal tfogal at alumni.unh.edu
Wed Mar 24 17:37:17 UTC 2010


nikunj badjatya <nikunjbadjatya at gmail.com> writes:
> Steps and Logfiles:
> 
>    1. cvs <http://localhost:8010/builders/buildbot-full/builds/13/steps/cvs>[
> update]
> [4 seconds]
[snip]
>
> I want to add a *webpage link* under " compile " or " trial " .
> 
> I tried using addURL method of BuildStep class in buildstep module in
> directory
> /buildbot-0.7.12-py2.6.egg/buildbot/process/buildstep.py
> 
> In the master.cfg file I added :
> *from buildbot.process.buildstep import BuildStep
> f1.addStep(BuildStep.addURL( "detailed results",
> "/home/..../Main-page.html"))*

addURL probably returns a string or a void.  You need to add pass a
BuildStep to addStep.

You probably want something like this:

  st_cvs = CVS(...)
  st_cvs.addURL("detailed results", "blah blah blah")
  f1.addStep(st_cvs)

or, as the docs outline, derive from BuildStep and then call
self.addURL as appropriate.

-tom




More information about the devel mailing list