Thank you Oleg, I need ORACLE_HOME variable to run a executable file. After I put the logic inside the callable method and use a System call, I was able to make it work... thanks!
=) On Sun, Dec 20, 2015 at 7:10 AM, Oleg Nenashev <[email protected]> wrote: > Which system properties do you want to get? > A good practice is to send them along with the request (define a final > variable before remote call and then use it within it), but it is also > possible to get them via backward call to the master. > > System properties can be also retrieved locally by direct calls to System > methods. > > > > > четверг, 17 декабря 2015 г., 23:39:55 UTC+3 пользователь Fernando Boaglio > написал: >> >> >> Hi, >> >> After a great contribution of @kinow , I was able to understand and run >> my plugin on slave machines. \o/ >> >> There is only one issue: how is the *right *way to get System variables >> from a slave machine? >> >> >> calling *Computer.currentComputer().getEnvironment();* outside Callable >> - I get variables from the server, not from the slave machine >> >> calling *Computer.currentComputer().getEnvironment();* inside Callable >> - I get a *NullPointerException* >> >> >> Thanks for your help >> >> =) >> >> >> >> *Fernando Boaglio*│◦└̅┘◦ ◦ ﴾̭▒̭̊▒̭̊﴿ ﴾̭▓̭̊▓̭̊﴿ ﴾̭░̭̊░̭̊﴿ ◦ ◦ (͡ < ◦ ● >> ◦└̅┘◦│ >> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Developers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-dev/Qo3jtVk4XwE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/dcc970c3-7265-4493-8167-0e60ede1fffd%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/dcc970c3-7265-4493-8167-0e60ede1fffd%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- *Fernando Boaglio*│◦└̅┘◦ ◦ ﴾̭▒̭̊▒̭̊﴿ ﴾̭▓̭̊▓̭̊﴿ ﴾̭░̭̊░̭̊﴿ ◦ ◦ (͡ < ◦ ● ◦└̅┘◦│ -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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-dev/CADuSYLVMF5_iSLHMTooR%3DP5dHirVQKm5xhQz7Gpdfh%2BQ%2Bj02yQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
