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

Wrong parsing of 'property content' drops backslash from string

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Not A Defect
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      env inject 1.93
      jenkins 2.23
    • Similar Issues:

      Description

      Steps to reproduce : inject env var using 'envInject' plugin with content :

      JENKINS_TOOLS=E:\JenkinsTools

      (check on screenshot)

      Then call this var in a step 'execute shell script', you'll see that \ char has been dropped.
      This is a regression in this version : rollback to 1.92.1 restores the right behavior.

      Could be caused by resolution of : https://issues.jenkins-ci.org/browse/JENKINS-31573 ?

      Thx

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                splashnenen Alexandre Aubert
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: