def getCuIP(){
InetAddress addr = InetAddress.getLocalHost()
def hostName = addr.getHostName()
InetAddress[] addrs = InetAddress.getAllByName(hostName)
def p_ip = addrs[0].toString().split('/')[1]
return p_ip;
}
def getCuIP(){
InetAddress addr = InetAddress.getLocalHost()
def hostName = addr.getHostName()
InetAddress[] addrs = InetAddress.getAllByName(hostName)
def p_ip = addrs[0].toString().split('/')[1]
return p_ip;
}