diff --git a/ci-scripts/commons.sh b/ci-scripts/commons.sh index 6a5050c8..47bd6348 100755 --- a/ci-scripts/commons.sh +++ b/ci-scripts/commons.sh @@ -348,7 +348,7 @@ if [[ "${PREPARE_TEST_ENVIRONMENT}" == true ]]; then # Configure Snapshots repository if [[ -n "${KURENTO_SNAPSHOTS_URL:-}" ]]; then mkdir -p /etc/maven - cd /etc/maven + pushd /etc/maven rm -f settings.xml curl https://raw.githubusercontent.com/OpenVidu/openvidu/master/ci-scripts/kurento-snapshots.xml -o settings.xml sed -i "s|KURENTO_SNAPSHOTS_URL|${KURENTO_SNAPSHOTS_URL}|g" settings.xml