Jenkinsfile: KMS_IP always to docker gateway

pull/658/head
pabloFuente 2021-10-29 14:01:31 +02:00
parent 658c1d5775
commit 2f0607bdf3
1 changed files with 1 additions and 4 deletions

View File

@ -184,10 +184,7 @@ def environmentLaunch(mediaServer) {
script {
env.mediaServer = mediaServer
sh(script: '''#!/bin/bash -xe
KMS_IP=127.0.0.1
if [[ "${mediaServer}" == "mediasoup" ]]; then
KMS_IP=172.17.0.1
fi
until $(curl --insecure --output /dev/null --silent http://${KMS_IP}:8888/kurento); do echo "Waiting for ${mediaServer}..."; sleep 1; done
if [ "$DOCKER_RECORDING_VERSION" != "default" ]; then
echo "Using custom openvidu-recording tag: $DOCKER_RECORDING_VERSION"