Continuous integration Hudson与UCM ClearCase的集成
我有一台安装了JBoss、UCM ClearCase和ant的linux构建机器。我想了解如何使用Hudson和Hudson clearcase插件配置持续集成。我可以使用已创建的现有动态视图吗。请给我一些基本的步骤。提前感谢。是的,您可以使用现有的动态视图 原则是:Continuous integration Hudson与UCM ClearCase的集成,continuous-integration,hudson,clearcase,Continuous Integration,Hudson,Clearcase,我有一台安装了JBoss、UCM ClearCase和ant的linux构建机器。我想了解如何使用Hudson和Hudson clearcase插件配置持续集成。我可以使用已创建的现有动态视图吗。请给我一些基本的步骤。提前感谢。是的,您可以使用现有的动态视图 原则是: 在hudson(主)服务器上创建动态视图 在Hudson作业配置中指出要使用现有动态视图(必须将其根路径设置为:/view/yourView) 让hudson监视自上次运行以来演变的文件(它将通过在该动态视图中查询文件的历史记录
- 在hudson(主)服务器上创建动态视图
- 在Hudson作业配置中指出要使用现有动态视图(必须将其根路径设置为:
)/view/yourView
- 让hudson监视自上次运行以来演变的文件(它将通过在该动态视图中查询文件的历史记录来实现)
这意味着此视图上的保护在某种程度上是错误的:
你能在
/view/vijaym\u SNDBX\u INT\u view
et类型中进入服务器吗
cleartool lsview -l -full -pro -cview?
可能的错误原因:
(键入“umask!=2
”检查值,如果与2不同,键入“umask
”)umask 2
- 所有者不是vijaym
- 运行Hudson的进程组不是vob组之一(检查/设置运行该进程的用户的主要组:“
”id-a
/usr/atria/etc/utils
,其中fix\u prot
)
我也有同样的问题。
但在我的例子中,指向服务器的视图实际上并不存在。
在您的情况下,Hudson用户似乎没有unix box上的权限。
尝试使用clearcase服务器的正确凭据运行jboss和hudson user。:我想这是同一个问题;)刚刚为您的
无法更改配置规范的消息添加了一个答案
cleartool lsview -l -full -pro -cview?
cd / # leave the view
cleartool endview -server vijaym_SNDBX_INT_View # stop completely the view
cleartool umount -all # make sure all vobs are unmounted
# reset protections
fix_prot -force -rec -chown vijaym -chgrp aCorrectGroup -chmod 775 /path/to/vijaym_SNDBX_INT_View.vws
fix_prot -force -root -chown vijaym -chgrp aCorrectGroup /path/to/vijaym_SNDBX_INT_View.vws
#restart the view and mount the vobs
cleartool startview vijaym_SNDBX_INT_View
cleartool mount -all
# check if the protections are ok
cd /view/vijaym_SNDBX_INT_View
cleartool lsview -l -full -pro -cview