diff --git a/tests/API-dhcp/Jenkinsfile b/tests/API-dhcp/Jenkinsfile index b5ae181..31a9558 100644 --- a/tests/API-dhcp/Jenkinsfile +++ b/tests/API-dhcp/Jenkinsfile @@ -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: /' ''' } }