diff --git a/content/_index.md b/content/_index.md index 5db343e..22f6676 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,4 +1,4 @@ - [ PIPELINE ] +[comment]: <> (PIPELINE) ## Contenu de la page d'accueil diff --git a/jenkinsTest.sh b/jenkinsTest.sh new file mode 100755 index 0000000..3cd1802 --- /dev/null +++ b/jenkinsTest.sh @@ -0,0 +1,11 @@ +#!/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