|
Trigger: Recommend Baseline Notification |
|
|
|
|
Friday, 02 December 2005 11:36 |
|
Author: Assad Chaudry
Recommend Baseline Notification Trigger
The trigger is executed after a a new baseline is recomended (post op trigger). Its scans the first member of every row of an array @arrayOfstreamNameAndEmails and a stream name is atched, its sends out notiification to the emails ids listed. The trigger send email one by one but you can put the $smtp->datasend("CC: $emailton") and remove foreach statment. If the emails are sent to a single domain , if the mails are send to different domains comment the line "$emailids =~ s/,/@$emaildomain,/gx;" and in the array list provide the full email ddresses.
The email message is formated for html message.The email provides the description /coments assigned to each baseline.It lists the composite baseline and all dependent beselines. All foundation baselines are numbered and dependent baselines are not numbered.
DOWNLOAD THE TRIGGER.
notify_chstream.pl
The sample Output email generated by the rigger is as follows:
|
CLEARCASE NOTIFICATION on Apr 20 14:04:46 2003
Operation : RECOMMENDED BASELINE CHANGED (chstream)
Project : TestProject Stream : TestProject_integration New Recommended Baseline(s):
|
Baselines
|
VOB Components
|
|
1: Xfiles_Project_04_16_04.7541
|
CompositeBaselinesVOB
Descriprion: Notice of Emergency Fix Implementation ============================= (1) Code change: The emergency fix included the code change to Java message bean bean.java (2) Deployment: xyx.xml & bean.java -- deployed server directly.
|
Xfiles__Project_04_01_04.5738
|
WebVOB
Descriprion: ---------------------------- April09,2003Production Release After importing baselines from XMen Project
|
XMen_ProductionProject_04_
01_04.9908
|
JavaVOB
Descriprion: Xmen description
|
The recommended baseline value has been changed in stream: TestProject_integration@/eigprojects
COMPUTER: COMP200654 WIN USER ID: Neil ClearCase ID: Neil GROUP: XFiles
Please re-base your streams if required. Thank You
ClearCase Administrator
NOTE:This is an auto-generated email; if you have any question, please contact ClearCase Administrator .
|
|
|
Last Updated on Saturday, 14 November 2009 02:10 |