Delete jenkinsTest.sh

This commit is contained in:
Gregan 2021-07-30 20:41:21 +00:00
parent ea69ea079e
commit fb628e63f9

View File

@ -1,11 +0,0 @@
#!/bin/bash
echo "TEST WEB"
url=http://localhost:9999
curl ${url} -I -o headers -s
reponse=$(cat headers | head -n 1 | cut '-d ' '-f2')
if [ $reponse == "200" ]
then
echo "SUCCESS"
exit 0
fi