public boolean isRunning() {
        try {
            client.get("/");
            return true;
        } catch (IOException e) {
            LOGGER.debug("isRunning()", e);
            return false;
        }
    }
public boolean isRunning ( ) { try { client . get ( "/" ) ; return true ; } catch ( IOException e ) { LOGGER . debug ( "isRunning()" , e ) ; return false ; } }
Get the current status of the Jenkins end-point by pinging it.

@return true if Jenkins is up and running, false otherwise