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
- Update envinject plugin to v1.93
- 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
Expected result: environment is updated
Actual result: Error message is shown (Problems occurs on injecting env vars as a build step: Malformed \uxxxx encoding.)