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