I've written shared library to check out code from git using git block and echo ip address of node using shell command. It is being executed on slave. Git block seems to be executed successfully. Code is getting cloned on slave. But shell command gives master ip rather than slave ip. Could anyone say why it is not giving slave ip?
-- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/18e79617-b30a-47ff-84ff-a5d5c24eadbe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.