hugo-site/testWeb.sh
2021-07-29 17:39:34 +02:00

11 lines
212 B
Bash
Executable File

#!/bin/bash
echo "TEST HUGO"
def reponse = sh(script: 'curl http://localhost:6060', returnStdout: true)
#response=$("curl -s http://localhost:6060")
#if ['$reponse' != '200']
#then
# exit 1
#fi
echo $reponse