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

Wrong parsing of 'property content' drops backslash from string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • envinject-plugin
    • None
    • env inject 1.93
      jenkins 2.23

      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

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

              Created:
              Updated:
              Resolved: