how to find the list activities delivered to integ

2019-01-15 11:33发布

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.

1条回答
forever°为你锁心
2楼-- · 2019-01-15 12:05

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)

查看更多
登录 后发表回答