Revert commit as it was working fine

testing
Nicolas Arenas 2024-10-01 13:37:53 +02:00
parent 529f4a3653
commit c9764a99d3
1 changed files with 1 additions and 1 deletions

View File

@ -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/"
}
}
}