'Groovy script to find if the microser ices are up or not

Using script can i find the microservices are up in remote server or not. I am using a Linux server as jenkins host. There are microservices like sonarqube, jira, etc



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source