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

Cannot reuse a clientspec on different machines - since changelist 28778

XMLWordPrintable

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

      The perforce plugin now sets dontRenameClient to false in the file PerforceSCM.java

      However in the this change now causes all clientspecs to have a hostname 'forced' on them because the following is never executed.

      if (dontRenameClient)

      { p4workspace.setHost(""); }

      Thus if the same workspace is used on multiple machines, the clientspec is not permitted to be used on machine except the one it was created on. I would suggest changing the code above to always remove the hostname from the client spec, or add back the flag 'dontReNameClient'.

      Note that there are other side effects - the the line stating that a shared workspace is being used isnt reported either.

            rpetti Rob Petti
            martinfr62 martinfr62
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: