mirror of https://github.com/OpenVidu/openvidu.git
Jenkinsfile: KMS_IP always to docker gateway
parent
658c1d5775
commit
2f0607bdf3
|
@ -184,10 +184,7 @@ def environmentLaunch(mediaServer) {
|
||||||
script {
|
script {
|
||||||
env.mediaServer = mediaServer
|
env.mediaServer = mediaServer
|
||||||
sh(script: '''#!/bin/bash -xe
|
sh(script: '''#!/bin/bash -xe
|
||||||
KMS_IP=127.0.0.1
|
KMS_IP=172.17.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
|
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
|
if [ "$DOCKER_RECORDING_VERSION" != "default" ]; then
|
||||||
echo "Using custom openvidu-recording tag: $DOCKER_RECORDING_VERSION"
|
echo "Using custom openvidu-recording tag: $DOCKER_RECORDING_VERSION"
|
||||||
|
|
Loading…
Reference in New Issue