Have you considered using the Docker plugin (https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin)? That plugin seems to be a closer fit for what you might want. The entire slave is in a container and consequently, all the PreBuild plugins and Publisher plugins work like they would on a normal slave.
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/d27c2ea7-2478-463a-bc23-797b66be51f8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
