|
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.
Required files |
Classes and Modules |