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

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

XMLWordPrintable

    • 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

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

              Created:
              Updated: