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

Cannot reuse a clientspec on different machines - since changelist 28778

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: