Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
523 views
in Technique[技术] by (71.8m points)

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

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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
"|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)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...