# Perforce Submit and Form Validating Trigger Specifications.
#
# Triggers: a list of triggers; one per line. Each line has four
# elements:
#
# Name: The name of the trigger.
#
# Type: 'submit' for pre-submit triggers. 'content' for
# mid-submit triggers with access to file content.
# 'commit' for post-submit triggers. 'in', 'out' or
# 'save' for form triggers.
#
# Path: For submit triggers, a file pattern to match files
# in the changelist. For form triggers, the type of
# form ('branch', 'client', etc).
#
# Command: The OS command to run for validation. If the
# command contains spaces, the whole command must
# be quoted. See 'p4 help triggers' for a list of
# variables that can be expanded in the command
# string.
#
# For example,
#
# Triggers:
# example submit //depot/... "runcommand %changelist%"
#
# See 'p4 help triggers' for more information about triggers.
Triggers:
CHANGELIST_RECONCILIATION commit //best_depot/dev/best/admin/... "/home/perforce/admin/launch-trig.sh /home/perforce/admin/trig-changelist.sh %user% %changelist% %client% %clienthost% %clientip% %serverhost% %serverip% %serverport% %serverroot%"
CHANGELIST_VALIDATION submit //best_depot/dev/best/admin/... "/home/perforce/admin/launch-trig.sh /home/perforce/admin/trig-jobs.sh %user% %changelist% %client% %clienthost% %clientip% %serverhost% %serverip% %serverport% %serverroot%"