Update url to check api up

nginx_conf
Nicolas Arenas 2024-10-01 17:08:21 +02:00
parent 08bbea320b
commit 3b6731bea8
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ pipeline {
new_ip=$(vagrant ssh -c "hostname -I" | tr -d '\r')
echo "$QINDEL_PASS" | sudo -S bash -c "echo '$new_ip api-test' >> /etc/hosts"
echo "IP: $new_ip"
curl -f -L -X 'GET' -H 'accept: application/json' "http://api-test/opengnsys3/rest/dhcp/subnets/"
curl -X 'GET' 'http://$new_ip/ogdhcp/v1/subnets' -H 'accept: /'
'''
}
}