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

Plugin seems to reset workspace root when polling

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • p4-plugin
    • Jenkins 2.77
      p4-plugin version 1.7.5

      My Jenkins root is C:\Program Files (x86)\Jenkins , but since I'm building a UE4 project that thas long paths, I set the job's workspace to C:\UE4.

      When building, this works (mostly) as you'd expect, and the perforce client is created correctly and all seems good.

      However, when the polling routine comes around it seems to mess with the client configuration sets the workspace root it to Jenkins root, which seems to confuse the perforce GUI, and at best tries to confirm if I want to do an initial sync (because the root's changed) or constantly complain that stuff that I'm trying to work with isn't in the client workspace directory.

       

      Now, obviously I understand you're not supposed to be mucking around in the generated workspace at all, but I'm troubleshooting an issue on UE4's side that seems to silently corrupt files when building, an issue that's only detected/resolved by using perforce's Reconcile Offline Work function and reverting all the changes it finds.

            p4paul Paul Allen
            tsaukpaetra Harry Takata
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: