[users at bb.net] SourceStamps and TriggerStep

Francesco Di Mizio francescodimizio at gmail.com
Thu Jan 28 19:09:33 UTC 2016


Is it possible at all to dynamically specify a sourcestamp for each
scheduler kicked by the a trigger step?

A bit of brackground: I've inherited a system where each triggered job is
using the property named revision in a number of steps. Such a property is
passed to the child by its parent through getSchedulersAndProperties. On
top of that each child job can be passed a different 'revision'

What happens is that 'revision'  always ends up being overwritten by the
sourcestamp revision of the parent. So all the children eventually get the
same revision even though I am setting it myself from within
getSchedulersAndProperties.

I was looking at the code and indeed the sourcestamp gets cooked once and
then passed in to each child. What I need is to have the system loop
through the children, cook a ss based on the properties and then kick them.

Pardon the wall of text. Hope this was clear enough at least.

Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160128/1ca526ff/attachment.html>


More information about the users mailing list