ClearCase Support: Finding ClearCase Triggers
If you need to find the list of ClearCase triggers installed in a single VOB, then run this command. You can also use this same command to find the location of each trigger's scripts and the configuration of each trigger too.
cleartool lstype -long -kind trtype -invob VOB_NAME |
---|
For instance, here is an example of this command and the command's output. This command may take a long time to execute, especially if you have a large VOB or if there are a lot of triggers installed in the VOB.
$ cleartool lstype -long -kind trtype -invob /vob/test trigger type "checkin_permission_trigger" 14-Apr-99.14:22:22 by root (root@machine_name) owner: root group: group all element trigger pre-operation checkin action: -exec \\windows_machine\path\script.bat || /path/script.pl trigger type "stop_rmelem_trigger" 24-Jun-04.13:03:03 by root (root@machine_name) owner: root group: group all element trigger pre-operation rmelem action: -execunix /usr/local/bin/perl /path/script2.pl action: -execwin \\windows_machine\path\perl.exe \\windows_machine\path\script2.pl |
---|
by Phil for Humanity
on 07/10/2008