CloudBees Docker Custom Build Environment Plugin Container Environment Variables are overwritten by build environment variables.

30 views
Skip to first unread message

Pradeep Kumar Mantha

unread,
Oct 30, 2015, 9:05:07 PM10/30/15
to Jenkins Users, nicolas...@gmail.com
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
Reply all
Reply to author
Forward
0 new messages