From c9764a99d34e453c868dbdf03551c14914987874 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Tue, 1 Oct 2024 13:37:53 +0200 Subject: [PATCH] Revert commit as it was working fine --- tests/API-dhcp/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/API-dhcp/Jenkinsfile b/tests/API-dhcp/Jenkinsfile index 864abe1..f08374d 100644 --- a/tests/API-dhcp/Jenkinsfile +++ b/tests/API-dhcp/Jenkinsfile @@ -33,6 +33,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/" ''' } } @@ -40,7 +41,6 @@ pipeline { stage ('Run API tests') { steps { echo 'Running API tests' - sh "curl -f -L -X 'GET' -H 'accept: application/json' http://api-test/opengnsys3/rest/dhcp/subnets/" } } }