ci-scripts: replace cd with popd

pull/780/head
pabloFuente 2023-03-09 16:42:29 +01:00
parent 572cc46c52
commit ac8af98404
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ if [[ "${PREPARE_TEST_ENVIRONMENT}" == true ]]; then
# Configure Snapshots repository # Configure Snapshots repository
if [[ -n "${KURENTO_SNAPSHOTS_URL:-}" ]]; then if [[ -n "${KURENTO_SNAPSHOTS_URL:-}" ]]; then
mkdir -p /etc/maven mkdir -p /etc/maven
cd /etc/maven pushd /etc/maven
rm -f settings.xml rm -f settings.xml
curl https://raw.githubusercontent.com/OpenVidu/openvidu/master/ci-scripts/kurento-snapshots.xml -o 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 sed -i "s|KURENTO_SNAPSHOTS_URL|${KURENTO_SNAPSHOTS_URL}|g" settings.xml