Get the error when creating the view “cleartool mkview -tag $view-name $view-name\" with Clearcase UCM Plugin 1.7.4

人盡茶涼 提交于 2019-11-29 16:51:52
VonC
cleartool mkview -tag $view-name $view-name

is incorrect.

You need either -vws (for the view storage path: your UNC path) or -stg (for the name of a view storage)

See cleartool mkview man page.

So it should be:

cleartool mkview -tag $view-name 

with additional argument: -stg a_view-storage-unc_path


The OP ZeevT adds in the comments:

Tried now using snapshot view, but same failure. See below the cmd generated by Jenkins:

Building remotely on build-xp [Hello World] 
$ cleartool mkview -snapshot -tag jenkins_Official_G4_FW_Platform_Dev_int \\build-xp\CC_views\jenkins_Official_G4_FW_Platform_Dev_int.vws jenkins_Official_G4_FW_Platform_Dev_int 

cleartool: Error: Extra arguments: "jenkins_Official_G4_FW_Platform_Dev_int" – ZeevT 2 days ago

I mention that the view storage path for a snapshot view should be preceded by -vws, and the OP confirms:

For snapshot view -vws solved the problem

So there is still an issue for dynamic views...

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