From 2a49c99d2849c03fce20c65f0457c89e92d72655 Mon Sep 17 00:00:00 2001 From: Alex Jonsson Date: Sat, 2 Apr 2016 18:34:23 +0200 Subject: [PATCH] Add missing space to Jenkins shell script --- 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