1

We use to take nightly builds irrespective of any files were delivered to integration stream or not. What i would like to do is , find the list of deliveries done on a particular day.

If there were no deliveries to integration stream then build will not be triggered.

Through project explorer itself we can see. but i would like to know from commands.

Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230

1 Answers1

2

Any deliver in UCM will generate an activity call deliver.xxx.

Simply list all activities for a given Stream (see cleartool lsact man page)

–in stream-selector [ –r/ecurse ]

Displays a list of all activities in the specified stream.
With –r/ecurse, includes activities in child streams.

So:

cleartool lsact -in stream:aStream@\aPVob -fmt "%n %d\n"|grep deliver

And filter through the dates (%d) in order to get only the deliver activities for that day.

(stream:aStream@\aPVob is a "stream selector", although you can directly use aStream@\aPVob in this case: cleartool is expecting a stream name parameter after the -in option)

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • I think there is no option called -stream it seems. Equvalent and corrected in DOS prompt. "cleartool lsact -in Components_Integration@\My_PVOB -fmt "%n %d\n"| find "deliver" .Please update your answer , i will accept it – Samselvaprabu Jan 10 '12 at 03:42
  • @Samselvaprabu: I have fixed the `lsstream -in` syntax and added some references. – VonC Jan 10 '12 at 05:08