[Buildbot-devel] messageFormatter to grab logs from the waterfall page, and how to add on the waterfall page a link to a zip file on the slave.

shiny knight theshinyknight at me.com
Mon Feb 11 01:28:42 UTC 2013


Thanks for the reply Georges

Basically one of my step is a build step, and it makes the library that I zip and make available to the other devs.

I would like to have the devs to be able to grab different releases of the library, directly from the waterfall page; so if a build goes bad, they can always download the previous build that was working, in the meantime that the problem is fixed.

As now I do in the build step, a copy of the library to a folder on the slave; using date and time as unique ID for the library release. But I send manually an email to the devs to tell them the location of the library; while I would like for them to just go to the waterfall page, click on a link in the step that build the library and get the file.

I will check the FileUpload, but from what I can understand, it is copying the file/s on the master; while I would like for the users to just grab it from the slave. Is even possible to achieve what I want to?

Also would appreciate any suggestion about how to browse trough the log files in a builder, so I can also write my own messageFormatter.

Thanks

On Feb 10, 2013, at 4:37 PM, Georges Racinet wrote:

> On 02/11/2013 01:22 AM, shiny knight wrote:
>> I am also trying to add on the waterfall, in a step, a link to a zip
>> file (which is the result of the operation of that step), but I cannot
>> find the syntax to do so...I know how to append logs (addCompleteLog() )
>> but I see no example that show how to do the same but with a file.
> 
> Hi, not sure what you want exactly, but you may want to upload that zip
> file back to the master for easy distribution with FileUpload step.
> 
> http://buildbot.net/buildbot/docs/current/manual/cfg-buildsteps.html#step-FileUpload
> 
> The FileUpload step has an option to make a link in waterfall, that you
> can adapt to your needs, thanks to WithProperties.
> 
> If you don't want that zip to be downloaded from the master, you may
> also rsync it from the master to the distribution server with a
> MasterShellCommand.
> 
> http://buildbot.net/buildbot/docs/current/manual/cfg-buildsteps.html#step-MasterShellCommand
> 
> Hope this might help
> 
> -- 
> Georges Racinet
> Anybox SAS, http://anybox.fr
> Bureau: 09 53 53 72 97 Portable: 06 51 32 07 27
> GPG: 0x33AB0A35, sur serveurs publics
> 
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013 
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel





More information about the devel mailing list