如何查找在特定日期交付给集成流的列表活动? [英] how to find the list activities delivered to integration stream on a particular day?

查看:68
本文介绍了如何查找在特定日期交付给集成流的列表活动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论是否有文件交付到集成流,我们通常都要进行每晚构建。我想做的是,找到在特定一天完成的交付的列表。



如果没有集成流交付,则不会触发构建。 / p>

通过项目浏览器本身,我们可以看到。但是我想从命令中知道。

解决方案

在UCM中进行任何传递都会生成一个活动调用 deliver .xxx



仅列出给定Stream的所有活动(请参见 cleartool实际手册页

  –流选择器[-r / ecurse] 




显示指定流中所有活动的列表。

具有 –r / ecurse ,包括子流中的活动。


所以:

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

并筛选日期(%d ),以便仅获取当天的交付活动。



(<< c $ c> stream:aStream @ \aPVob 是流选择器,尽管在这种情况下,您可以直接使用 aStream @ \aPVob cleartool -in 选项之后需要一个流名称参数)


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.

解决方案

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)

这篇关于如何查找在特定日期交付给集成流的列表活动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆