From aa7edac8fcff5cf616c23942b0d081ef169eaf7d Mon Sep 17 00:00:00 2001 From: aashikam Date: Tue, 28 Nov 2023 22:03:48 +0530 Subject: [PATCH] Update workflows --- build.gradle | 8 -------- 1 file changed, 8 deletions(-) diff --git a/build.gradle b/build.gradle index 9390c958..864f0795 100644 --- a/build.gradle +++ b/build.gradle @@ -138,14 +138,6 @@ task startNatsServers() { } else { println "NATS Basic server is already started." } - // Get the IP address of the container - stdOut.reset() - exec { - commandLine 'sh', '-c', "docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $containerId" - standardOutput = stdOut - } - def ipAddress = stdOut.toString().trim() - println "NATS Basic server IP address: $ipAddress" } } }