PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
and while building docker image using dockerfile:
"Env": [ "PATH=/usr/java/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "JAVA_VERSION=8u31", "BUILD_VERSION=b13", "JAVA_HOME=/usr/java/latest" ],if we observe the PATH variable , they are not matchingand i guess that's the problem which i am facing. Plugin is not exposing all the env variables ??i am not getting how to resolveJenkins master version : 1.631cloudbeese custom docker plugin : 1.6.1on the console log, i am getting following output which is wrong.+ java -version java version "1.7.0_91" OpenJDK Runtime Environment (rhel-2.6.2.1.el7_1-x86_64 u91-b00) OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)i should get following output:java version "1.8.0_31" Java(TM) SE Runtime Environment (build 1.8.0_65-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CACGLCJbY6peRkNwR2_%2BtL%2B3X4xcoRzO%3D9fD%3DZpLKvRLHW-Bz8w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4DFRP%3D5U7_n%2BxWNfwVE%3D8MeVsXaKtMYf6c0Jw-3%2BGb4Q%40mail.gmail.com.
--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d27c2ea7-2478-463a-bc23-797b66be51f8%40googlegroups.com.
--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d57820c9-db3d-4561-b3b8-dece85293e0f%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/496cc188-1e74-47f6-a056-df34f6b19a08%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CACGLCJb%2BGdSZOZJDFPP-wXgHD6Pone%3DDpQKAxwvoAtxTbnwc5g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANMVJz%3DuOuhz5chjGMswTOcQWYaNS%2BWV7U%2BUFRATH09E7cKFYg%40mail.gmail.com.