Additional triggers for push and fetch commands
The section
Triggering on pushes and fetches
describes the triggers that you can run during the various phases of the
p4 push
and p4 fetch
commands.
These are triggers that are run by the server initiating the push or the
fetch. However, for every initiator, there is a responder:
- For every push by server A to server B, there is a server B receiving the items pushed by A.
- For every fetch by server A from server B, there is a sever B that is being fetched from.
This creates additional trigger opportunities for the server receiving
the push and the server responding to the fetch request. You can use
command
type triggers to take advantage of these
opportunities. Within this context, pre-user
and
post-user
actions refer to the server initiating the push or
fetch; pre-rmt
and post-rmt
actions refer to
the responding server. The following table lists the triggers that can be
used by the responding, or remote, server.
Trigger | Meaning |
---|---|
|
Run this trigger on the remote server before it receives pushed content. |
|
Run this trigger on the remote server after it receives pushed content. Two special variables are available for use with post remote push triggers:
|
|
Run this trigger on the remote server before it responds to a fetch request. |
|
Run this trigger on the remote server after it responds to a fetch request. |
Your search for returned result(s).