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

Problems occurs on injecting env vars as a build step: Malformed \uxxxx encoding.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • envinject-plugin
    • None
    • Jenkins 2.23, envinject 1.93, Linux, Windows 7 slaves

      After updating to the latest version of the envinject plugin, injecting an environment properties file (which is basically a "set > env.props") does not work any more. The error message reads:

      [EnvInject] - Injecting environment variables from a build step.
      [EnvInject] - Injecting as environment variables the properties file path 'generated_environment.props'
      [EnvInject] - [ERROR] - Problems occurs on injecting env vars as a build step: Malformed \uxxxx encoding.
      

      Steps to reprocude

      1. Update envinject plugin to v1.93
      2. Have a job with two build steps:
        • Execute Windows batch command (which basically does a set > env.props
        • Inject environment variables, properties file path=env.props
      3. Expected result: environment is updated
      4. Actual result: Error message is shown (Problems occurs on injecting env vars as a build step: Malformed \uxxxx encoding.)

            Unassigned Unassigned
            phbaer Philipp Baer
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: