| Path: | checkjob.rb |
| Last Update: | Fri Nov 19 09:48:32 GMT 2004 |
Example trigger to ensure that all changelists being
submitted have at least one job associated.
Ruby
P4Ruby
P4Triggers module
Triggers:
checkjob //... "ruby whatever/checkjob.rb %changelist%"
For triggers I recommend you use a P4CONFIG file rather than hard coding
username/password in the script itself. This script assumes you've taken
that advice.