From 03ace1def8ed6b12765f10b4b70f402df51700c1 Mon Sep 17 00:00:00 2001 From: Gregan Date: Thu, 29 Jul 2021 17:32:31 +0200 Subject: [PATCH] ajout tests --- testWeb.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testWeb.sh b/testWeb.sh index 8c1b835..8a5c9a4 100755 --- a/testWeb.sh +++ b/testWeb.sh @@ -1,7 +1,8 @@ #!/bin/bash echo "TEST HUGO" -response=$("curl -s http://localhost:6060") +response = sh(script: 'curl http://localhost:6060', returnStdout: true) +#response=$("curl -s http://localhost:6060") #if ['$reponse' != '200'] #then # exit 1