-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 1.609, EnvInject 1.92.1
Whenever an exception comes up using *.groovy code to "inject environment variables to the build process", the exception and it´s message/stacktrace is not shown in the console / log:
Only this line can be seen:
[EnvInject] - [ERROR] - [EnvInject] - [ERROR] - Problems occurs on injecting env vars as a build wrap: null
The code to reproduce this looks for example just like:
def map = [ myKey: "myValue" ] // Exceptiion will NOT be reported map.createException() return map
See also the attached file for a sample job.
Please report the exception, so analyzing the problem would be much easier.
- links to