Update url to check api up
testing/og-dhcp-API/pipeline/head Build queued...
Details
testing/og-dhcp-API/pipeline/head Build queued...
Details
parent
78639f92a3
commit
bd88f58303
|
@ -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