Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22711

Using streams in perforce doesn't use -s switch on workspace command

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • p4-plugin
    • None

      When using streams in the Perforce plugin the following command is issued.

      [jenkins_test] $ "C:\Program Files\Perforce\p4.exe" workspace -o -S //Streamed_Depot/MyStream NikSanWS

      But this doesn't perform a switch workspace view, so perforce is still working the stream selected in P4V etc rather than the one specified bu the plugin. A fix is to supply an extra -s parameter like so. (only when dealing with streams)

      [jenkins_test] $ "C:\Program Files\Perforce\p4.exe" workspace -o -s -S //Streamed_Depot/MyStream NikSanWS

          [JENKINS-22711] Using streams in perforce doesn't use -s switch on workspace command

          Nik San created issue -
          Rob Petti made changes -
          Assignee Original: Rob Petti [ rpetti ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 154823 ] New: JNJira + In-Review [ 178928 ]
          Jenkins IRC Bot made changes -
          Component/s New: p4-plugin [ 19224 ]
          Component/s Original: perforce-plugin [ 15506 ]

            Unassigned Unassigned
            niksan Nik San
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: