It should be CLEARCASE_ACTIVITY
.
(UCM activities are the official names for "change sets": when you access the "properties" of an UCM activity, you see a tab called "change set")
As that thread mentions, this only work for a post-op trigger, not a pre-op.
This technote illustrates the use of such a variable:
cleartool mktrtype -ucmobject -all -postop deliver_complete
-mkhlink UndelAct@\TEST_PVOB,to=%CLEARCASE_ACTIVITY% -nc
trtype:UndelAct@\TEST_PVOB
However, that would give you the delivered activity (called "deliver.xxx
"), not the source activities.
For that, you need to list all activities contributing to that delivered activity:
See "Finding which developer activities were delivered in a specific delivery"
cleartool lsact -contrib activityName@\aPVob
The OP clearcase adds in the comments:
It does not provide the list offiles that were delivered.
For that, you don't need the list of contributing activities.
You can simply describe the resulting baseline in CLEARCASE_ACTIVITY
(the "deliver.xxx
" one)
See "How to find files asssociated with a ClearCase UCM activity?":
cleartool describe -fmt "%[versions]CQp" activity-title@\aPVob