title: How to get ip of a Jenkins' node using Jenkins API in groovy
body: <p>I have the following Groovy script, called by a Jenkins pipeline job:</p>
  
  <pre><code>import jenkins.model.Jenkins
  
  def foo(){
      Jenkins.instance.getNode('bla').getComputer.disconnect()
  }
  </code></pre>
  
  <p>Checking the <a href="https://javadoc.jenkins-ci.org/hudson/model/Computer.html" rel="nofollow noreferrer"><code>getComputer()</code> API</a>, I wasn't able to find a way to also get the IP of the node. Is it possible from within the jenkinsfile / groovy script?</p>