From b3ea508fdf53fc225f4145aaf6946c629ea52c08 Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 8 Jan 2021 01:02:30 +0300 Subject: [PATCH] Missing space --- identijenk/jenkins_shell | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/identijenk/jenkins_shell b/identijenk/jenkins_shell index e153795..7d48709 100644 --- a/identijenk/jenkins_shell +++ b/identijenk/jenkins_shell @@ -14,7 +14,7 @@ sudo docker-compose $COMPOSE_ARGS run --no-deps --rm -e ENV=UNIT identidock ERR=$? #Run system test if unit tests passed -if [ $ERR -eq0 ]; then +if [ $ERR -eq 0 ]; then IP=$(sudo docker inspect -f {{.NetworkSettings.IPAddress}} jenkins_identidock_1) CODE=$(curl -sL -w "%{http_code}" $IP:9090/monster/bla -o /dev/null) || true if [ $CODE -eq 200 ]; then