Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
aashikam committed Nov 28, 2023
1 parent 37817bd commit aa7edac
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
Expand Down

0 comments on commit aa7edac

Please sign in to comment.