how to find the list activities delivered to integration stream on a particular day?

吃可爱长大的小学妹 提交于 2019-11-26 23:25:59

问题


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:


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)



来源:https://stackoverflow.com/questions/8731616/how-to-find-the-list-activities-delivered-to-integration-stream-on-a-particular

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!