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

Single backslashes are droped or used as escape char

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      EnvInject 1.57 (only)
      Jenkins 1.447.2 (LTS)
      MS Windows OS family.
    • Similar Issues:

      Description

      Example:
      When setup "\\server\D\tmp" you got the "
      serverD mp" so the 1st backslash is dropped and the 2nd one is interpreted as escape char for tab (\t).
      When setup "\\server\\D
      tmp" it is interpreted as is, so file were not found.
      So there is no way to setup the environment vaiable contains single backslash and it is serious problem, especialy on Windows platform.

      This problem is only for EnvInject verion 1.57 so the version 1.56 is not affected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gbois Gregory Boissinot
                Reporter:
                svasek Milos Svasek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: