Renamed setup file

This commit is contained in:
Begona Guereca
2022-08-09 12:54:55 -07:00
parent ff19794701
commit 32becf9013
@@ -18,6 +18,10 @@ else
docker run -d --name jenkins -p 8080:8080 --env JENKINS_ADMIN_ID=$username --env JENKINS_ADMIN_PASSWORD=$password jenkins:$container_name
fi
# allow valet to talk to Jenkins by removing network isolation between containers
export DOCKER_ARGS="--network=host"
grep -q "export DOCKER_ARGS=" ~/.bashrc || echo 'export DOCKER_ARGS="--network=host"' >> ~/.bashrc
echo -e "\nWaiting for Jenkins to start..."
while ! curl -s http://localhost:8080/ > /dev/null; do
echo -e "."