Skip to content

Commit

Permalink
Trigger doc: add note about properties in dynamic triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Grubb committed Apr 19, 2015
1 parent 20b311c commit 6b3a81a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion master/docs/manual/cfg-buildsteps.rst
Expand Up @@ -2777,7 +2777,11 @@ For this purpose, Trigger step support a method that you can customize in order
:returns: list of tuples (schedulerName, propertiesDict) optionally via deferred

This methods returns a list of tuples describing what scheduler to trigger, with which properties.
With this method, you can trigger several time the same scheduler with different set of properties.
The properties should already be rendered (ie, concrete value, not objects wrapped by ``Interpolate`` or
``Property``). Since this function happens at build-time, the property values are available from the
step and can be used to decide what schedulers or properties to use.

With this method, you can also trigger the same scheduler multiple times with different set of properties.
The sourcestamp configuration is however the same for each triggered build request.


Expand Down

0 comments on commit 6b3a81a

Please sign in to comment.