Refactor jenkins.client.node

   Get rid of inline groovy
   Remove duplicate code

Change-Id: Ieaae8354201c04a378723e3783b9f1a6b955b0f5
5 files changed