[ 
https://issues.jenkins-ci.org/browse/JENKINS-11898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158657#comment-158657
 ] 

Krzysztof Malinowski commented on JENKINS-11898:
------------------------------------------------

Another symptom is for base ClearCase:

$ cleartool mkview -tag <view_tag>
cleartool: Error: View directory pathname must be specified.
Usage: mkview -tag dynamic-view-tag [-tcomment tag-comment] [-tmode text-mode]
              [-region network-region | -stream stream-selector]
              [-shareable_dos | -nshareable_dos] [-cachesize size]
              [-ln link-storage-to-dir-pname] [-ncaexported]
              { -stgloc {view-stgloc-name | -auto}
              | [-host hostname -hpath host-stg-pname -gpath global-stg-pname]
                dynamic-view-storage-pname
              }
       mkview -snapshot [-tag snapshot-view-tag]
              [-tcomment tag-comment] [-tmode text-mode]
              [-cachesize size] [-ptime] [-stream stream-selector]
              [ -stgloc view-stgloc-name
              | -colocated_server [-host hostname -hpath 
host-snapshot-view-pname -gpath global-snapshot-view-pname]
              | -vws view-storage-pname [-host hostname -hpath host-stg-pname 
-gpath global-stg-pname]
              ] snapshot-view-pname
FATAL: Base ClearCase failed. exit code=1

Here location for dynamic view is not given at all.
                
> Create view if view doesn't exist doesn't work for dynamic views
> ----------------------------------------------------------------
>
>                 Key: JENKINS-11898
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11898
>             Project: Jenkins
>          Issue Type: Bug
>          Components: clearcase
>    Affects Versions: current
>         Environment: unix
>            Reporter: Eric Le Lay
>            Assignee: Vincent Latombe
>         Attachments: fix+ClearCase+dynamic+view+creation.patch
>
>
> (tested with 1.3.7)
> When I check "use dynamic views" and "Create view if view doesn't exist", the 
> command line generated is such :
> cleartool mkview -snapshot -stream NAME_OF_THE_STREAM_OK -tag VIEWTAG_OK 
> -stgloc -auto
> Here you see a nasty "-snapshot" argument making troubles.
> The error message is "cleartool: Error: View directory pathname must be 
> specified."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to