[Buildbot-devel] Adding Links to buildbot status pages

Benoît Allard benoit at aeteurope.nl
Thu Mar 25 14:57:36 UTC 2010


nikunj badjatya wrote:
> Hi Tom,
> Thanks a lot for your reply..!
> 
> I tried the way you told..Its again giving me same error.
> *"self.step_status.addURL(name, url)
>         exceptions.AttributeError: 'NoneType' object has no attribute 
> 'addURL' "*
> 
> Here are my lines in master.cfg
> 
> *p = CVS( )                                   #Tried with BuildStep( ) also
> 
> p.addURL("detailed results", "/home/...../Main-page.html")
> f1.addStep(p)*
> 

As the error message says, it's too early to add an URL, there is no 
step_status yet as the step has not been run yet.

As Tom also said, my best guess is that you will have to subclass the 
Step on which you are trying to add an URL, to be able to customize it, 
there, you will just have to add your "self.addURL(name, url)" at the 
end of the step, when the webpage you are trying to link to is ready and 
makes sense.

Regards,
Benoit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6031 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://buildbot.net/pipermail/devel/attachments/20100325/c5421c74/attachment.bin>


More information about the devel mailing list