Even I see the same problem as Irfan, Here we are not expecting environment 
variables from Jenkins.
We expect whatever the variables/path set in docker file to be available to 
the build script. But currently the variables are being overwritten with 
the jenkins build environment variables, which seems to be incorrect.


On Tuesday, October 27, 2015 at 11:25:51 PM UTC-7, Irfan Sayed wrote:
>
> Hi All,
>
> I am using cloudbeese custom build environment plugin to create the build 
> environment based on docket container 
> I have created dockerfile and spawning image using container. 
> In the docker file , i am installing oracle JDK and setting up path 
> JAVA_HOME. 
>
> However, after building docker image and executing it in docker container 
> through Jenkins job, I am not getting PATH variable updated which i set in 
> the docker file 
>
> I executed "java -version" command as a build step and it is showing some 
> old version rather than the version which i set through dockerfile 
>
> I feel that , the issue is similar to JENKINS-30113
>
> can someone please suggest 
>
> Regards
> Irfan
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d57820c9-db3d-4561-b3b8-dece85293e0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to