I have a docker image which exports JAVA_HOME, ANT_HOME, PATH and couple of other environment variables. When i run the container without using the plugin the build script finds all the environment variables and it works fine.
But when the build script executed via the plugin, some of the environment variables are missing & PATH is being updated to the Build environment variables.
Is there anyway I can overwrite the environment variables with the values in container? I am using CloudBees Docker Custom Build Environment Plugin - 1.6.4 version.
Thanks
Pradeep