I have a Jenkinsfile and the JAVA_HOME environment variable is already set when the process starts up. Unfortunately, this environment variable is being passed into my container when I run a script in docker.inside and is overriding the correct value of the environment variable that is already set in the image.
How do I unset an environment variable in a Jenkins script?