Hello,
Having a problem with some basic functionality of the EnvInject plugin.
Adding a simple "Properties Content" to the "Prepare an environment for the run" item causes the plugin to fail with the error below.
The same happens with no script specified, just the checkbox checked.
The same content works just fine when used at the "Inject environment variables to the build process" step.
Here is the build log:
Started by user anonymous
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Injecting as environment variables the properties content
MyVariable=someValue
[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
[EnvInject] - [ERROR] - SEVERE ERROR occurs: null
Build step 'Upload to HockeyApp' marked build as failure
Finished: FAILURE
Thanks.
--
David