A trigger is a series of callback events linked by logical operators into an expression. If the expression is evaluated and the result is found to be true, the callback is said to have been triggered.
The syntax for specifying an event consists of:
Refer to Trigger Event Syntax for more details.
Triggers can be logically AND'd or OR'd, use the boolean operators && and ||. They can be grouped with parentheses "( )", but grouping is not supported when using the job dependency attribute, only in callbacks.
When this job completes:
When job 19294 starts running:
When my #2 subjob completes:
When the job with the label 'hello' is done:
The events are then combined together with simple operators to define more complex scenarios:
When I complete and my parent completes:
complete-job-self && complete-job-parent
When the job labeled "sibling" starts running, and I am done:
running-job-sibling && done-job-self