Installing triggers in a VOB on Linux and the UNIX system

If the VOB resides on Linux or the UNIX system, install the triggers from a Windows® system that uses the same registry server as the system on which the VOB resides. The VOB tag must be imported from the region in which Linux and the UNIX system run to the region in which the Windows system runs. Then, you can use the Rational ClearQuest Integration Configuration tool.

You can also manually install integration triggers without Rational ClearQuest Integration Configuration tool by using the following trigger scripts. These scripts are valid only if you are using a local config.pl file. If a Global config.pl file is being used, the CQCC\config.pl needs to be modified for each execwin and execunix line to reflect the UNC path to the Global config.pl file

In version 7.0 the default config.pl is located at: \DevOps\ClearCase\lib\CQCC.

cleartool mktrtype -element -all -preop checkin -execwin 
"cqcc_launch.bat CQCC\config.pl -entitydef defect " 
-execunix "cqcc_launch CQCC/config.pl -entitydef defect 
" -c "ClearQuest Integration" cq_ci_trigger

cleartool mktrtype -element -all -postop checkin -execwin 
"cqcc_launch.bat CQCC\config.pl -postop -entitydef defect " 
-execunix "cqcc_launch CQCC/config.pl -postop -entitydef defect 
" -c "ClearQuest Integration" cq_postci_trigger

cleartool mktrtype -element -all -postop checkout -execwin 
"cqcc_launch.bat CQCC\config.pl -postop -entitydef defect " 
-execunix "cqcc_launch CQCC/config.pl -postop -entitydef defect 
" -c "ClearQuest Integration" cq_co_trigger

cleartool mktrtype -element -all -preop uncheckout -execwin 
"cqcc_launch.bat CQCC\config.pl -entitydef defect " 
-execunix "cqcc_launch CQCC/config.pl -entitydef defect 
" -c "ClearQuest Integration" cq_unco_trigger
Triggers can be used to associate change requests with the elements being accessed by a DevOps Code ClearCase® client. When the DevOps Code ClearCase operation completes, the trigger store associations (a change set) in the Rational® ClearQuest® user database and uses hyperlinks to store matching information (a request set) in DevOps Code ClearCase storage. To install triggers that use associations, use the following scripts:
Preop check-in triggers
cleartool mktrtype -element -all -preop checkin -execwin 
"cqcc_launch.bat CQCC\config.pl –required -entitydef 
defect " -execunix "cqcc_launch CQCC/config.pl 
–required -entitydef defect " -c "ClearQuest Integration" 
cq_ci_trigger
Postop check-in trigger
cleartool mktrtype -element -all -postop checkin -execwin 
"cqcc_launch.bat CQCC\config.pl -postop -entitydef defect 
" -execunix "cqcc_launch CQCC/config.pl -postop 
-entitydef defect " -c "ClearQuest Integration" 
cq_postci_trigger 
Postop check-out trigger
cleartool mktrtype -element -all -postop checkout 
-execwin "cqcc_launch.bat CQCC\config.pl -postop 
-required -entitydef defect " -execunix "cqcc_launch 
CQCC/config.pl -postop -required -entitydef defect " -c 
"ClearQuest Integration" cq_co_trigger 
Preop uncheck-out trigger
cleartool mktrtype -element -all -preop uncheckout 
-execwin "cqcc_launch.bat CQCC\config.pl -entitydef 
defect " -execunix "cqcc_launch CQCC/config.pl -entitydef 
defect " -c "ClearQuest Integration" cq_unco_trigger