[Buildbot-commits] [Buildbot] #1690: addURL does not persist through master restart

Buildbot buildbot-devel at lists.sourceforge.net
Wed Dec 1 21:32:12 UTC 2010


#1690: addURL does not persist through master restart
-------------------+--------------------------------------------------------
Reporter:  djs     |       Owner:           
    Type:  defect  |      Status:  new      
Priority:  minor   |   Milestone:  undecided
 Version:  0.8.2   |    Keywords:           
-------------------+--------------------------------------------------------
 I have subclassed FileUpload and attempted to add a link in the status to
 the uploaded file (master is a regular webserver too). It works fine until
 you restart the master, at which point the link disppears. Here is a
 reduced example:

 {{{
 class UploadBuild(FileUpload):
     def __init__(self, slavesrc=None, masterdest=None, workdir=None,
 maxsize=None, blocksize=16384, mode=None):
         FileUpload.__init__(self, slavesrc, masterdest)

     def finished(self, result):
         ret = FileUpload.finished(self, result)
         self.addURL("download", "url")
         return ret
 }}}

-- 
Ticket URL: <http://buildbot.net/trac/ticket/1690>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list