ShelveImpl and SubmitImpl fail when special symbols in workspace path

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: p4-plugin
    • None
    • Environment:
      P4 Plugin 1.4.14

      When attempting to use p4publish in Pipeline I hit an issue on workspace creation.

      This can be worked around by setting the workspace separator to something compatible with P4 (e.g .-Dhudson.slaves.WorkspaceList=_), but requires a service restart.

      P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.
      Embedded special characters (*, %%, #, @) not allowed in '/home/user/workspace/HM2CQY2DVQKDT7X3THI25H2D7XY252WQ3FWDJ7ISG34U4S7B2K7A@2'.
      

      I'm not sure if the same solution from JENKINS-29387 would work or if this is incompatible with publishing.

            Assignee:
            Unassigned
            Reporter:
            Robby Pocase
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: