mirror of
https://github.com/spritsail/plex-media-server.git
synced 2024-12-20 11:34:36 +00:00
Retry connection tests even when ECONNREFUSED
This commit is contained in:
parent
4077e9402a
commit
ec8a389e7c
@ -28,7 +28,7 @@ pipeline:
|
||||
- CON_NAME=$(docker run --rm -d plex-dev)
|
||||
- timeout -t 15 docker logs $$CON_NAME &
|
||||
- sleep 10 # Wait for plex to start!
|
||||
- curl -sSL --retry-max-time 30 --max-time 5 --retry 10 --retry-delay 5
|
||||
- curl -sSL --retry-max-time 30 --max-time 5 --retry 10 --retry-delay 5 --retry-connrefused
|
||||
$(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $$CON_NAME):32400/identity
|
||||
| tee /dev/stderr
|
||||
| xmlstarlet sel -t -v "/MediaContainer/@version"
|
||||
|
Loading…
Reference in New Issue
Block a user