how to get a notification for every checkin in cle

2019-01-27 08:19发布

问题:

In our project so many file changes are happening, I want some notification for every checkin. so that every one in the team can know the files changed in the project. I want some basic information about the file like comments and the branch.

回答1:

That means "trigger": specifically a post-op checking trigger:

cleartool mktrtype -c "Trigger to notify on checking" -element -all -postop checkin -execwin "ccperl \\path\to\notification\script" -execunix "Perl /path/to/notification.pl" NOTIFY_ON_CHECKING

You can get some ideas from the "ten best triggers" IBM page.

See also the E-mail notification postoperation trigger script, which is on deliver, but that can also give you a good idea for adapting it for each checkin.



标签: clearcase