maj comment
This commit is contained in:
parent
a1fa78fbab
commit
929f11eab2
@ -1,4 +1,4 @@
|
|||||||
[ PIPELINE ]
|
[comment]: <> (PIPELINE)
|
||||||
|
|
||||||
## Contenu de la page d'accueil
|
## Contenu de la page d'accueil
|
||||||
|
|
||||||
|
11
jenkinsTest.sh
Executable file
11
jenkinsTest.sh
Executable file
@ -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
|
Loading…
x
Reference in New Issue
Block a user