本文介绍了在Clear Case Remote Client中更改触发器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Clear Case Remote Client 中,我们用于根据VOB选择规则创建新的VOB。我签出了几个文件,但是尝试签入时,出现以下错误-

In Clear Case Remote Client, we use to create new VOB based on VOB selection rule. I checked out a couple of files, but when trying to checkin, I obtain following error -

/ bin / sh:/vob/cspecs/triggers/scripts/checkin.sh:没有这样的文件或
目录ClearCase CM Server:警告:触发 checkin_SomeOtherBranch
拒绝让签入继续进行。

/bin/sh: /vob/cspecs/triggers/scripts/checkin.sh: No such file ordirectory ClearCase CM Server: Warning: Trigger "checkin_SomeOtherBranch" hasrefused to let checkin proceed.

请注意,根据我的VOB选择规则,远程客户端应触发 checkin_MyBranch 进行签入。

Please note, as per my vob selection rule, remote client should trigger, checkin_MyBranch for checkin.

根据,我们可以使用 mktrtype 重新定义现有触发器,因为 CCRC 中没有命令行。无法尝试使用此命令来解决我的问题。

As per this SO post, we can redefine existing trigger with mktrtype, Since command line is not available in CCRC. Couldn't try this command to resolve my issue.

您是否遇到过这种情况,我不清楚CCRC触发的目的是什么。

Have you come across this situation, I am not precisely clear what is the purpose of trigger in CCRC.

谢谢您的帮助。

推荐答案

这最好是在CCRC服务器端进行调试(具有完全访问权限)所有基本的ClearCase命令,例如 mktrtype ),例如。

您将无法对其进行修改从客户端(即从CCRC Web视图)

This would be best debug on the CCRC server side (which has full access to all the base ClearCase commands, like mktrtype), like this trigger example for limiting the delete command.
You wouldn't be able to modify it from a client (ie from a CCRC web view)

但是请检查CCRC服务器上的路径 / vob / cspecs / triggers / scripts / checkin.sh 在那里(并且已经安装了VOB cspecs )。不过它应该可用,否则您也会收到有关交互式会话的错误消息(请参见 )

这看起来像一个自定义触发器,放在ClearCase服务器端。我不知道它的目的是什么。

Check however that, on the CCRC server, the path /vob/cspecs/triggers/scripts/checkin.sh is there (and the vob cspecs is mounted). It should be available though, or you would have error message about "interactive session" as well (see "Non-interactive triggers fail with warning about interactivity using CCRC or CCWeb")
This looks like a custom trigger, put in place on the ClearCase server side. I don't know what its purpose would be.

这篇关于在Clear Case Remote Client中更改触发器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-21 15:37