Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: encourage the user to use Gerrit source step
There seem to be a number of issues when users try to use 'Git' source
step while getting changes via GerritChangeSource.  Add an explicit
warning about this combination.
  • Loading branch information
Mikhail Sobolev committed Jul 15, 2016
1 parent 19d429c commit 12b1339
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions master/docs/manual/cfg-changesources.rst
Expand Up @@ -1022,6 +1022,10 @@ An example:
This class will populate the property list of the triggered build with the info received from Gerrit server in JSON format.

.. warning::

If you selected :class:`GerritChangeSource`, you **must** use :bb:step:`Gerrit` source step: the ``branch`` property of the change will be :samp:`{target_branch}/{change_id}` and such a ref cannot be resolved, so the :bb:step:`Git` source step would fail.

.. index:: Properties; from GerritChangeSource

In case of ``patchset-created`` event, these properties will be:
Expand Down

0 comments on commit 12b1339

Please sign in to comment.