-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins ver. 2.138.2
There is an environment variable from unknown source which has an empty name. Jenkins would run a docker exec command to execute the content of an sh step within a docker.image.inside block. The docker exec command fails because of the environment variable.
I have written a wrapper bash script around the docker command which filters out the empty environment variable name. With this script in place the same Jenkinsfile runs sucessfully.
The environment variable does not appear on the global configure system page, neither on the agent page. Its value is 'build'.