My ci trigger works well as soon as I don't use clearfsimport. In the special case of clearfsimport. the ci trigger cannot find the file.
Here's the way I build the filename in my trigger:
my $filename = ( $ENV{'LOGNAME'} ? $ENV{'CLEARCASE_ROOT'} : '') . $ENV{'CLEARCASE_PN'};
For both case (cleartool ci and clearfsimport, the file name is a local path to the file i.e L:\VobName\Path\file.txt
.
I don't know two things:
- How the trigger can open the file if I give to it a 'local path' that cannot be resolved on the server-side?
- Why it still works with
cleartool ci
but not withclearfsimport
EDIT
Actually it seems the concerned files are removed by some program or script before the call to the CI trigger. After the execution of clearfsimport the concerned files are back there. This result that the trigger cannot open the file because it's missing. Does it mean CI triggers cannot work with clearfsimport
?