Update url to check api up
parent
08bbea320b
commit
3b6731bea8
|
@ -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: /'
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue